]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Update the documentation for the new TCP stack
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 26 Mar 2019 14:18:34 +0000 (15:18 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 4 Apr 2019 09:54:05 +0000 (11:54 +0200)
pdns/dnsdistdist/docs/advanced/tuning.rst
pdns/dnsdistdist/docs/reference/tuning.rst

index 4e9d28679775967c3f93d56596f3e0a6bfe1b33f..cf72ca7c51559bd2674a9e190075ba034d54d294 100644 (file)
@@ -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.
index 54d56823627cfeeaabaf7c629fe5578b3cffe786..0f63a5145446e0000b1a4a8248a5c6bc87617566 100644 (file)
@@ -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: