mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.94k stars 227 forks source link

Question: Should I use this lib for making a ratio improving seeder? #171

Open colwem opened 7 years ago

colwem commented 7 years ago

I want to make a little program to help me maintain a good ratio on some private trackers. I want to programmatically add all new torrents to my client, have that client only download a fraction of the pieces then start seeding the pieces as soon as possible and as fast as possible. Your library has the api I need. You allow me to select arbitrary pieces and you allow me to monitor traffic to figure out if this torrent is helping or hurting my ratio.

However, I know so little about networking or bittorrent. Will it upload efficiently if I have say 100 torrents running at the same time? As in if I create 100 instances of the engine with they behave nicely together or will they all try to upload at the same time and create congestion?

Also is this designed well to do what I'm looking to do or is it so optimized for streaming that it performs relatively poorly as a seeder.

EricBabin commented 7 years ago

I'm interested in this question as well. Any help would be appreciated.