mafintosh / torrent-stream

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

High CPU usage with multiple engines #136

Open LeeChSien opened 9 years ago

LeeChSien commented 9 years ago

Hi, I tried to build a prototype mac app with electron (https://github.com/LeeChSien/electron-torrent). But if I download multiple files with multiple torrent-stream engines concurrently, the CPU usage seems too high. How can I solve this problem? Maybe reduce connections in the option?

mafintosh commented 9 years ago

how many connections are you using now?

LeeChSien commented 9 years ago

100 peers / engine.

mafintosh commented 9 years ago

yea thats a bit high. i would probably limit that to 20-30