SD-52 · PEER-TO-PEER FILE TRANSFER · INTERACTIVEBreak it.
Break it.
Then fix it.
Bring more peers online, watch the tracker and the swarm, and add the parts a real file-sharing network needs. Every switch is a decision you would defend in an interview.
CHALLENGEAt 10M peers online, download a 2 GB file in under 10 minutes, keep the tracker under 80% load, and survive a tracker outage.
StatusSTRAINEDAt 1M peers online
2 GB download35.6 minTarget under 10 minutes
Tracker load17%1.7K announces/s at peak
Monthly cost$800File bytes cost us nothing
Peers onlineLIVE
1.0M peers · biggest swarm 20Ktraffic source
TrackerNO BACKUP
One node, in memory1.7K / 10K announces/s
SwarmDOWN
Pieces from many peers8 Mbit/s · 2 GB in 35.6 min
SeedersOK
20% of each swarmone source of many
Peers all hold the same pieces. Picking pieces at random leaves some pieces rare, so peers often have nothing to trade. Fetch the piece the fewest neighbours have first.
0 BFile data through usAbout 9.3 Tbit/s moves peer to peer; we only carry announces.
64 KBManifest for 2 GB2,048 pieces × a 32-byte SHA-256 hash.
60%Peers behind NATTwo of them can’t connect without hole punching.
16.7KAnnounces/s at peak10M peers every 30 minutes, at 3× the average.
Want the reasoning behind every switch?Visual walkthroughFull write-up
Was this lab useful?Your vote tells us what to improve next.