mafintosh / peerflix

Streaming torrent client for node.js
MIT License
6.19k stars 672 forks source link

Max upload/download #125

Open ghost opened 10 years ago

ghost commented 10 years ago

Would be awesome to have a maximum download/upload switch!

mafintosh commented 10 years ago

Do you mean max upload/download speed?

mw3demo commented 9 years ago

Hey @mafintosh ,

I think that's what @sammuel86 meant. Currently peerflix uses all it can get for upload/download and saturates the network, leaving it unusable for other users.

Would be great to have "Upload: Limit to xx kB/s" and "Download: Limit to xx kB/s".

feross commented 9 years ago

Same issue on WebTorrent: https://github.com/feross/webtorrent/issues/163

zouharvi commented 9 years ago

I am for this ability. I usually can't even use my browser since my internet connection is so clogged.

Potherca commented 9 years ago

In the interim, trickle may solve your woes (for Linux) or a similar throttler (for other OS's)

rstanislav commented 9 years ago

+1 Also i think it would be great if peerflix could change max speed: for example - when torrent just started it could use max speed, but when user starts watching and not doing any seek in videostream - it would limit download speed to max bitrate of video file so it uses only needed speed - when user seek in video stream (ie to +10 mins) - it again uses max speed so user can start watching faster, but after first chunks downloaded it again slows down, so connection not saturated (this is big problem for example when watching whole season with 10+ videos - even if i want to watch just 1 file it will still use all avail. bandwidth to download all files...

dcerisano commented 9 years ago

https://github.com/mafintosh/torrent-stream/issues/120

visuddha commented 7 years ago

this is the feature that web torrent is missing!

RockChild commented 7 years ago

@rstanislav You are so fu**ing perfect customer. Sometimes you guys come up with so crazy details to make, because it would be perfect for you, and it doesn't matter, that average guy doesn't need it. This crazy server is dedicated to stream you a file, which you choose. Why it's so important to make, if I believe 99% of people don't give a fuck for the thing you are talking about? But you know what, there is a good thing in that: you can do by yourself. Yeah, really. Why aint you doing it, huh? You have an idea, which you think is great, so... do it. And you know, perhaps, someday somehow someone will write you: "thanks man for your commit". The end.

RockChild commented 7 years ago

oh, and by the way, you are not paying, it's free! time work. So instead of wasting your spare time, make programming as your hobby and Do it. Just do it!

dcerisano commented 7 years ago

Did it! Two years ago. Considered to be good enough to fulfill peer throttling requirements. No one has pushed any other rate limiter since.

RockChild commented 7 years ago

Respect!