From 488eb4c692925e851ae669da2dcf5a8f9ece320d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 27 Mar 2022 12:17:50 +0200 Subject: [PATCH] README: write about configuring worker counts --- README.md | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2664688..ce1ff26 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,39 @@ Note that both `aquatic_http` and `aquatic_ws` require configuring TLS certificate and private key files. More details are available in the respective configuration files. -For optimal performance, start at least as many `request_workers` as -`socket_workers`. +#### Workers + +The sum of `socket_workers` and `request_workers` should equal the total +number of CPU cores that you want to use. + +Recommended proportions: + + + + + + + + + + + + + + + + + + + + + + + + + + +
aquatic_udp
CPU cores2-56-910-15>=16
request_workers1234
socket_workers1-44-77-12>=12
#### Access control