As my client's php ecommerce portal is on a dedicated hosting but there are certain overload issues. Like the CPU uses goes upto 84% on a 60 req/sec , so i am thinking to propose a plan.
To implement appache at the main server, use varnish & memcached for caching of previous fetched requests from the webserver, NGINX on front of the appache for serving static contents.
Now here as NGINX is redirecting all PHP requests to appache so i am considering to put another tiny but powerfull webserver to server only PHP pages.
The situation comes like when i see appache is on high load so that i can redirect certain requests to other PHP webserver OR I should make appache run only to handle 100 requests/sec and bypass other PHP requests to another PHP webserver.
Also advise me use which server as a robust PHP webserver ?
Kindly correct me if i am wrong. Thank you!