From ef8a068f5d6535399d666c7404f3e99700e6a5b8 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 10 Sep 2019 09:17:00 +0300 Subject: [PATCH] docs: Add small description for pipe backend about distributor-threads By default distributor-threads is a small number (currently 3). For latency-bound applications this is too small, thus it would be a correct place to have this description in pipe backend section as well. Signed-off-by: Donatas Abraitis --- docs/backends/pipe.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/backends/pipe.rst b/docs/backends/pipe.rst index 870329f52..ad1febc39 100644 --- a/docs/backends/pipe.rst +++ b/docs/backends/pipe.rst @@ -17,6 +17,11 @@ The PipeBackend allows for easy dynamic resolution based on a 'Coprocess' which can be written in any programming language that can read a question on standard input and answer on standard output. +The number of distributor (backend) threads (``distributor-threads``) to start +per receiver thread is low by default. This can impact the performance if +you have latency-bound application as backend. You should increase the +number of ``distributor-threads`` in such cases. See :doc:`performance`. + The PipeBackend is primarily meant for allowing rapid development of new backends without tight integration with PowerDNS. It allows end-users to write PowerDNS backends in any language, a perl sample is provided. The -- 2.50.1