SSAUTO – State Server Auto-Connect

#### Search Results

Search

# SSAUTO – State Server Auto-Connect

This Natural profile parameter specifies whether Natural/HA processes automatically connect to the active state server on startup and retain this connection until the process is terminated.

Possible settings | ON | An automatic connection to the state server exists for the duration of the Natural/HA process. All state server operations use this connection.
OFF | Natural/HA processes only connect to the state server on demand to perform a particular operation (or series of operations) and disconnect immediately afterwards.
Default setting | ON |
Dynamic specification | yes |
Specification within session | no |

Notes:

1. The setting only applies to Natural running in an HA (High Availability) environment.
2. A Natural/HA process typically needs to perform two state server operations: loading any previously saved state on startup and saving the new state on termination. This requires one connection to be made to the state server if this parameter is set to ON, but two separate connections if it is set to OFF. However, the connection overhead is typically not twice as high in the latter case, due to some information being cached.
3. The OFF setting is more efficient but results in more concurrent connections to the state server. In addition, the state server can implicitly close the connection if the time between operations exceeds its configured client idle timeout (if any). To avoid any potential errors due to this timeout being exceeded, this parameter can be set to ON.
4. The concept of open connections does not apply to file system state servers.