D
D
Dmitry2015-04-17 16:29:12
Video
Dmitry, 2015-04-17 16:29:12

How to broadcast video from the server to a large number of users at the same time?

I have a server:

  • CPU: E3-1240 3.3Ghz
  • RAM: 8Gb DDR3 1333MHz
  • HDD: 2x2000Gb SATA3
  • RAID: no raid
  • Traffic: 100Mbps - Unlimited

The task is, a small light site is on the server, users register and watch the video.
The planned number of users is about 10 thousand.
They can watch videos at the same time, at least all at once.
Actually the question is: will it be enough just to give Nginx video to each user, or there may be problems with this, and you need to somehow parallelize tasks?
What are the possible pitfalls in this implementation?
Perhaps you need to take some steps initially so that there are no problems later?
Maybe I'm just worrying in vain, and this server and Nginx can handle this amount without any problems?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Spetros, 2015-04-17
@Spetros

A channel of 100Mbps for 10 thousand users simultaneously watching videos from the site is simply not enough.
School knowledge of mathematics suggests that one user will get only 10 kilobits / s of bandwidth. Video files have such a characteristic as bitrate , if it is less than the transfer rate, then there will be delays in playback.
If users watch different video files, then the performance of the disk subsystem will also not be enough.
A banal lack of knowledge, both the basics and everything else.
Hire a specialist who, at a minimum, will select the hardware for your tasks. You can stream video in different ways.

V
Valentine, 2015-04-17
@vvpoloskin

For 10 thousand simultaneous viewers, Nginx is enough, server performance must be measured. Most likely, if there is nothing at all on the server other than broadcasting , it will pull. On the Internet channel, it will be enough for either 200 people at the same time for videos from the phone, or 50-100 in SD quality, 25-50 in HD

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question