Here we describe the use of the four sliders used in the SocketConnectionProp to tune Jigsaw according to the load level of your server.
This document has the following sections:
When a browser connects to Jigsaw, it will create a new connection, called "Client" in the server, this Client is taken from the pool of free clients of the SocketConnectionFactory.
The client may be used for multiple request on the same connection, "keep-alive" connections are handled by the factory, instead of using fixed timeouts, thus allowing better control of the load and a better handling of persistent connections.
There are two lists used by the factory:
The number of Clients is limited, so are the number of free clients and idle clients. The repartition of the clients on those lists depends on the load of the server and the settings, the server will adapt its behaviour depending on those settings.
The load map is:
This is the behaviour as of Jigsaw 2.0.3, it may be
modified to enhance the smoothness of the server.
The "Dead" level is obtained when the number of free clients is 0.
Depending on the load level, the server will have a different behaviour. Here is a small description of what happens:
A good tool to see the number of established connection to your machine is "netstat". If you have statistics on the usage and the maximal number of established connections, using a very large configuration, you may then adjust the settings to lower the resources used.
Rules of thumb: