Implement global tracker state
Opened 3 years ago
Last modified 3 years ago
#2112opendefect
Implement global tracker state
Reported by:zzzOwned by:zzz Priority: minor Milestone: 0.9.35 Component: apps/i2psnark Version: 0.9.32 Keywords: performance Cc:
Parent Tickets:
Sensitive: no
Description
Each TrackerClient? has its own view of whether a tracker is up or downn, stored with other state in TCTracker. This is inefficient, as each torrent in a client will repeatedly attempt to connect to a tracker before giving up. This generates a lot of network traffic and load on the floodfills for popular or hardcoded trackers that are down.
By keeping a global state, when one torrent has determined a tracker is down, it can pass this info to other torrents.