This Note explains about internal parameters of Exploratory Collaboration Server and how to configure them.
This section is about configurations for the Nginx server that receives HTTP requests at the front-end of Exploratory Collaboration Server.
You can configure these pararamers by editing the default.conf file, which is located under the exploratory directory that was created when you expanded the tar.gz file at the installation of the Collaboration Server.
If the HTTP request body size of a request from the client (Web browsers or Exploratory Desktop) exceeds this value, the HTTP request will be rejected.
By default, this is set to unlimited to accommodate upload of larger EDF file.
If Nginx's reading of response from the backend Express server halts longer than this length of time, the connection will be closed.
Collaboration Server's default is set longer so that it can accommodate upload of larger EDF files.
When Nnigx sends requests to the backend Express server, if writing of the request content halts longer than this duration of time, the connection will be closed.
Collaboration Server's default is set longer so that it can accommodate upload of larger EDF files.
This section is about the configurations of Interactive Session.
You can configure these pararamers by editing the docker-compose.yml file, which is located under the "exploratory" directory that was created when you expanded the tar.gz file at the installation of the Collaboration Server. The parameters are under the "environment" section under the "exploratory" section in the docker-compose.yml.
Example : Setting EXPL_INTERACTIVE_SESSION_USER_TIMEOUT to 1800000 (30 minutes) :
exploratory:
...
environment:
...
- EXPL_INTERACTIVE_SESSION_USER_TIMEOUT=1800000
...
If there is no interaction with the user for longer than the time specified here, the interactive session will be terminated. Also, if the refreshing of data and/or recalculation that takes place when the user changes the parameter takes more than this amount of time, the interactive session is terminated as well.
If any of the individual R command issued in an interactive session exceeds this amount of time, the interactive session will be terminated.
If the refreshing of data and/or recalculation that takes place after the toggle switch for interactive session is turned on, before the interactive session becomes available to the user takes more than this amount of time, the interactive session is terminated.
If the time spent since the beginning of an interactive session exceeds this amount of time, the session will be terminated.
This is a parameter for Socket.IO, which is a library that Interactive Session uses for the interactive connection with the user's web browser.
Socket.IO sends ping messages over the connection to check the health of the connection periodically, once in this amount of time.
This is a parameter for Socket.IO too.
If the response to the ping request from the browser does not come back for this amount of time, the connection will be closed.
If you need to change this value, so that you can avoid this issue of Socket IO, we recommend to pick a value longer than EXPL_INTERACTIVE_SOCKET_PING_INTERVAL.
This section is about the configurations of the Scheduler.
This is the maximum number of jobs the Scheduler can run at the same time. If there are more jobs to run than this number, the jobs are queued to wait for its turn to be executed.