Answer the question
In order to leave comments, you need to log in
Which bundle is better to choose Nginx+php-fpm or apache+php?
Good afternoon, comrades. At the moment I'm using apache + php, but without setting any settings, from minimum to maximum, I can't get a good result with a quick response from the server, it fluctuates 3-8 seconds and this doesn't satisfy me at all.
Everyone is talking about Nginx+php-fpm and how fast it can load pages.
The server is quite powerful, it eats almost nothing, although Apache has made very large settings.
The total number of users on the site per day: 100,000.
So, the question arises, is it worth going to nginx?
Answer the question
In order to leave comments, you need to log in
Moving to nginx is useful anyway, but it won't solve the problem.
The solution to the problem is the optimization of the shitty code. Especially in SQL queries.
Install and configure Nginx right away, it will take you 20 minutes to figure it out. But look for where you have a bottleneck, maybe apache is not to blame.
apache + mod_php is faster than nginx + php-fpm in the context of one request
, well, it’s probably worth it all the same not to try to tune the server side, but still optimize your shit code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question