From: Matt Joiner Date: Thu, 29 May 2025 07:37:45 +0000 (+1000) Subject: Notes on webseed performance improvements X-Git-Tag: v1.59.0~98 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=00f0d89eebc8c2fe48b986ad6c748022472e9021;p=btrtrc.git Notes on webseed performance improvements --- diff --git a/TODO b/TODO index 02f983a6..1164b772 100644 --- 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