L
L
Lubovka9992017-06-08 20:22:37
PHP
Lubovka999, 2017-06-08 20:22:37

How to set up Nginx+PHP-FPM for online music distribution?

Hello everyone, guys, tell me what configs should be for distributing audio files online, that is, there is a certain server that keeps music on the server and gives it to users, they can download and listen to audio. On average, there are 20-50k online users. What immediately needs to be done, and how best to take, what steps? I will be very grateful! ATP in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
ralaton121, 2017-06-08
@ralaton121

There is no way to set up a ready-made site for such loads . Well, except as a more powerful server to take. Much more powerful.
You need to immediately write a site based on this (web-socket instead of long polling, etc.).
Then you don't have to configure anything at all. And even on a dead iron will keep.
Or take ready-made software for streaming.
You can of course try to set up caching in nginx .....

A
Alexander Aksentiev, 2017-06-08
@Sanasol

cloudflare deliver

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question