From 2aa94d050b55237e5f6b4f12464f44c74ef545fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Tue, 16 Nov 2021 23:49:36 +0100 Subject: [PATCH] Update TODO --- TODO.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/TODO.md b/TODO.md index 8ae2800..e5acc4b 100644 --- a/TODO.md +++ b/TODO.md @@ -17,17 +17,19 @@ * cargo-deny * aquatic_udp - * shard torrent state - * old note that might be useful: - * consider adding ConnectedScrapeRequest::Scrape(PendingScrapeRequest) - containing TransactionId and BTreeMap, and same for - response + * notes + * load testing shows that with sharded state, mio reaches 1.4M responses per second + with 6 socket and 4 request workers. performance is great overall and faster than + without sharding. io_uring impl is slightly behind or slighly ahead of mio, but + nothing justifying code complexity and unsafety + * clean torrent map in workers, remove it from shared state + * consider rewriting load test to just have one worker type. Connection state + should/could be divided by socket worker anyway? + * mio + * stagger connection cleaning intervals? * uring * ValidUntil periodic update * statistics - * shared config keys such as poll interval - * mio - * stagger connection cleaning intervals? * aquatic_http: * clean out connections regularly