Inspirel banner

Programming Distributed Systems with YAMI4

4.3.1 TCP Listening Backlog

The backlog value for listening TCP sockets is the length of queue where incoming connections can wait until they are accepted. The existence of this queue allows clients to establish their connections even if the server program is not currently waiting to accept them.

Larger values of backlog can be useful in those systems where potentially big number of clients can try to set up their connections all at the same time, which can happen when a large system is started by a single script or some external trigger.

Property name: "tcp_listen_backlog".

Property type: integer.

Default value: 10.


The value that is provided for this options is passed as-is to the underlying system service and is subject to the system-level interpretation and constraints.