"BitTorrent Simulator" to simulate BitTorrent's operation principle
BitTorrent is building a highly efficient P2P file sharing network at the expense of eliminating any anonymity. By downloading files from Seeder that has all the files in small units called pieces, at the same time, by downloading files from other users that are downloading in the same way, so-called Leecher, bring them with each other Exchange the pieces in exchange, reduce the burden on the bandwidth of Seeder and share it efficiently.
Although you can not understand even if you read the explanation like this, you can use this "BitTorrent Simulator" to see how a file spreads from one Seeder to several Leechers and Leecher goes to Seeder one after another I understand.
BitTorrent Simulator: How and Why BitTorrent works at Torrentfreak
The following is the main body of the simulator. It works in Java.
Btsim Built with Processing
Each color of seven colors is a piece. When you press the "+" key Leecher will be added, so we will place some of them. Next, when you press the "s" key to place the Seeder, a file fragment starts to be transferred from Seeder to each Leecher. After a while, you can see that Leechers also exchange fragments of files.
If you try to simulate easily, you first press the "s" key once, then press the "+" key from 30 times to 50 times, it will look like it. It will be tremendous if it takes about 1 minute.
Seeder disappointed figure
As Leecher joins here, files start to be transferred all at once
When you look at this way, you can see how to consume bandwidth ...
Related Posts:
in Software, Posted by darkhorse_log