From: Remi Gacogne Date: Tue, 26 Mar 2019 14:18:34 +0000 (+0100) Subject: dnsdist: Update the documentation for the new TCP stack X-Git-Tag: dnsdist-1.4.0-alpha1~25^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f129b3e372f446330128a897abe0e7a957627d5;p=pdns dnsdist: Update the documentation for the new TCP stack --- diff --git a/pdns/dnsdistdist/docs/advanced/tuning.rst b/pdns/dnsdistdist/docs/advanced/tuning.rst index 4e9d28679..cf72ca7c5 100644 --- a/pdns/dnsdistdist/docs/advanced/tuning.rst +++ b/pdns/dnsdistdist/docs/advanced/tuning.rst @@ -15,6 +15,7 @@ First, a few words about :program:`dnsdist` architecture: The maximum number of threads in the TCP pool is controlled by the :func:`setMaxTCPClientThreads` directive, and defaults to 10. This number can be increased to handle a large number of simultaneous TCP connections. If all the TCP threads are busy, new TCP connections are queued while they wait to be picked up. +Before 1.4.0, a TCP thread could only handle a single incoming connection at a time. Starting with 1.4.0 the handling of TCP connections is now event-based, so a single TCP worker can handle a large number of TCP incoming connections simultaneously. The maximum number of queued connections can be configured with :func:`setMaxTCPQueuedConnections` and defaults to 1000. Any value larger than 0 will cause new connections to be dropped if there are already too many queued. diff --git a/pdns/dnsdistdist/docs/reference/tuning.rst b/pdns/dnsdistdist/docs/reference/tuning.rst index 54d568236..0f63a5145 100644 --- a/pdns/dnsdistdist/docs/reference/tuning.rst +++ b/pdns/dnsdistdist/docs/reference/tuning.rst @@ -3,7 +3,7 @@ Tuning related functions .. function:: setMaxTCPClientThreads(num) - Set the maximum of TCP client threads, handling TCP connections + Set the maximum of TCP client threads, handling TCP connections. Before 1.4.0 a TCP thread could only handle a single incoming TCP connection at a time, while after 1.4.0 it can handle a larger number of them simultaneously. :param int num: