]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Notes on webseed performance improvements
authorMatt Joiner <anacrolix@gmail.com>
Thu, 29 May 2025 07:37:45 +0000 (17:37 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 29 May 2025 07:37:45 +0000 (17:37 +1000)
TODO

diff --git a/TODO b/TODO
index 02f983a69e26e5dd8019802f6099d5f8f7b61da4..1164b772d21d7965cefd33c7a4246bae51d42f79 100644 (file)
--- a/TODO
+++ b/TODO
@@ -3,3 +3,10 @@
  * dht: Randomize triedAddrs bloom filter to allow different Addr sets on each Announce.
  * data/blob: Deleting incomplete data triggers io.ErrUnexpectedEOF that isn't recovered from.
  * Handle wanted pieces more efficiently, it's slow in in fillRequests, since the prioritization system was changed.
+
+webseeds:
+ * Favor giving requests to larger torrents. It appears R2 for example limits speed per object, so large ones will take longer.
+ * Force webseed requests to be applied synchronously to an available object reader and contiguous.
+ * Always make open-ended webseed requests so that more requests can be applied.
+ * Can possibly use expanding requests windows with webseeds with the above changes.
+ * After synchronously searching for more requests for an open object, close it if none are forthcoming which opens up another slot.
\ No newline at end of file