From a21f8dbc6e47610caa6694fcaf5cbd6af5633f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Tue, 17 Aug 2021 11:46:06 +0200 Subject: [PATCH] README: reword architecture overview section --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1406376..a0a99bf 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,12 @@ Distributed under Apache 2.0 license (details in `LICENSE` file.) ## Technical overview of tracker design One or more socket workers open sockets, read and parse requests from peers and -send them through channels to request workers. They in turn go through the -requests, update internal state as appropriate and generate responses, which -are sent back to the socket workers, which serialize them and send them to -peers. This design means little waiting for locks on internal state occurs, +send them through channels to request workers. The request workers go through +the requests, update shared internal tracker state as appropriate and generate +responses that are sent back to the socket workers. The responses are then +serialized and sent back to the peers. + +This design means little waiting for locks on internal state occurs, while network work can be efficiently distributed over multiple threads, making use of SO_REUSEPORT setting.