mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
README: add section "architectural overview"
This commit is contained in:
parent
449d40c814
commit
15b749afed
1 changed files with 9 additions and 0 deletions
|
|
@ -199,6 +199,15 @@ Enter a password when prompted. Then move `identity.pfx` somewhere suitable,
|
|||
and enter the path into the tracker configuration field `tls_pkcs12_path`. Set
|
||||
the password in the field `tls_pkcs12_password` and set `use_tls` to true.
|
||||
|
||||
## Architectural overview
|
||||
|
||||
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 less waiting for locks on internal state has to occur,
|
||||
while network work can be efficiently distributed over multiple threads.
|
||||
|
||||
## Trivia
|
||||
|
||||
The tracker is called aquatic because it thrives under a torrent of bits ;-)
|
||||
Loading…
Add table
Add a link
Reference in a new issue