Answer the question
In order to leave comments, you need to log in
Distribution of files loads the server. Decision?
There are VDS: 4 cores, 4 RAM, nginx.
There are files for 100-200 mb.
With active downloading, the server goes down. Bandwidth sags, MySQL crashes.
The obvious solution is to increase the performance of the server. And remove the direct link from the server...
But how to reduce the load on the server?
Limit download speed . I don't know a server level solution, advised this:
location /download {
limit_rate 1000000;
limit_rate_after 50000000;}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question