Answer the question
In order to leave comments, you need to log in
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
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 .....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question