[GH-ISSUE #115] [Question] How many users can peerflix-server handle? #312

Closed
opened 2026-03-15 02:58:27 +03:00 by kerem · 3 comments
Owner

Originally created by @AurumProject on GitHub (May 12, 2017).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/115

Hi all, first sorry for my english, maybe it's a noob question but i would like to know if anyone had how many users peerflix can handle withouth crashing? Streaming the same torrent? etc..

The point is to know what are the best / recommended server requirements to handle 10,000 request from the same stream, at the same time. And your experience running a public peerflix-server.

Thank you all,

Originally created by @AurumProject on GitHub (May 12, 2017). Original GitHub issue: https://github.com/asapach/peerflix-server/issues/115 Hi all, first sorry for my english, maybe it's a noob question but i would like to know if anyone had how many users peerflix can handle withouth crashing? Streaming the same torrent? etc.. The point is to know what are the best / recommended server requirements to handle 10,000 request from the same stream, at the same time. And your experience running a public peerflix-server. Thank you all,
kerem 2026-03-15 02:58:27 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@asapach commented on GitHub (May 12, 2017):

It's definitely not designed for scale. I don't think you can get more than 10 users to stream comfortably.

<!-- gh-comment-id:301121361 --> @asapach commented on GitHub (May 12, 2017): It's definitely not designed for scale. I don't think you can get more than 10 users to stream comfortably.
Author
Owner

@AurumProject commented on GitHub (May 13, 2017):

What is the first problem that comes to your mind when serving more than 10 users? The only limitations that i see is Ram, HDD, Bandwith..
Can you explain more?

Thanks for your quickly answer @asapach .

<!-- gh-comment-id:301264203 --> @AurumProject commented on GitHub (May 13, 2017): What is the first problem that comes to your mind when serving more than 10 users? The only limitations that i see is Ram, HDD, Bandwith.. Can you explain more? Thanks for your quickly answer @asapach .
Author
Owner

@asapach commented on GitHub (May 13, 2017):

Actually the first limit you will run into is CPU, because it's single-threaded. Every peer and client require a certain amount of CPU resources to keep them happy, and once it's exhausted everything becomes sluggish. It's less of a problem when the torrent is fully downloaded, because the most expensive part is over.
Slow HDD can be a bottleneck, as well as limited IOPS on a virtual server.
You can run into the default V8 limit of ~1.6GB RAM that Node has if CPU or HDD don't keep up.
Bandwidth is a constant issue, regardless of how many users you have.

<!-- gh-comment-id:301265646 --> @asapach commented on GitHub (May 13, 2017): Actually the first limit you will run into is CPU, because it's single-threaded. Every peer and client require a certain amount of CPU resources to keep them happy, and once it's exhausted everything becomes sluggish. It's less of a problem when the torrent is fully downloaded, because the most expensive part is over. Slow HDD can be a bottleneck, as well as limited IOPS on a virtual server. You can run into the default V8 limit of ~1.6GB RAM that Node has if CPU or HDD don't keep up. Bandwidth is a constant issue, regardless of how many users you have.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/peerflix-server#312
No description provided.