I am currently on Apache (cPanel / wHM ) with memcached , varnish and APC the server specs are : 2GB RAM 2 2.2Ghz cores the traffic is bottleneck during some period so i wanna know whats nginx ! with memcached , varnish and APC work with nginx ( and also my PHP scripts work the same ? ) Please guide ASAP
Hello there, Have you looked to see what the bottleneck is? It could be another service, like MySQL that is causing the server to slow down. It could also be that you are running out of RAM. You would need to examine the server during these slow periods to find out what it causing the issue, not just throw another web server into the mix. Chris
Thats a good point Chris. Also, I suggest you take a look at your processes and see if its a particular cpanel account that is causing the slow down. A lot of times its just an issue with a single account and not the entire server. I suggest you allow a well qualified Server Administrator like Chris or myself take a look before jumping to nginx or any other web server for that matter.
Its impossible to tell. Use localhost on your home machine or in a VM to test. Lightppd/nginx are very good, but its impossible to tell why your server is maxed out with the information you gave. It would first be a very wise move to find out exactly what is causing the high load. You would then want to try to fix or at least lessen the intensity of the operation causing the problem.