Srun
From CauchoWiki
A srun is a backend port listing to requests from a load balancer.
[edit] configuration directives
| directive | description | default |
|---|---|---|
| server-id | matches the -server command line argument | "" |
| connection-max | maximum number of concurrent connections allowed | 4096 |
| host | the host interface to listen to or "*" for all interfaces | "*" |
| index | optional index for sticky sessions (not recommended) | the ordered value in the srun list |
| keepalive-max | maximum number of keepalive connections for this port | 1024 |
| <openssl> | configures the port to require SSL using OpenSSL | |
| <jsse-ssl> | configures the port to require SSL using JSSE | |
| port | configures the port to listen to | |
| protocol | optional protocol to use | hmux |
| read-timeout | how long to wait for a read on an idle socket | <timeout>, 30s |
| socket-listen-backlog | queue size for the operating system listen() value | 100 |
| tcp-no-delay | sets the TCP no-delay value | true |
| timeout | default value for read-timeout and write-timeout | 30s |
| backup | If true, the server is generally used as a backup | false |
| write-timeout | how long to wait for a write on an idle socket | <timeout>, 30s |
