I'm thinking about the architecture for a new Webserver. Would having Varnish as a cache in front of Nginx as a reverse-proxy and serving static files in front of apache for all heavy lifting be a good idea?
I'm going to run php and ruby on rails applications.
Will there be too much overhead passing php requests to apache through two other processes?
Thanks a lot!