I read this fascinating article yesterday: http://markmaunder.com/2009/how-to-handle-1000s-of-concurrent-users-on-a-360mb-vps/ The author suggests putting nginx between the user and Apache. That way Apache is sending resources directly to nginx instead of over the Web, and nginx is very very fast, so you get the best of both worlds. My question is I know Webfaction uses nginx to serve requests - would this step be redundant on my host? What's the connection between nginx and my box like? Same box? A cable in the same room? Across Houston or what? asked 16 Jun '11, 20:39 kevinburke |
Nginx is on the Same box, it is what you configure when you set up 'websites' in the control panel. This illustration might help you make sense of it,
answered 16 Jun '11, 20:56 johns Yes - so if I personally set up nginx and then apache as two webapps serving the same site (with nginx sitting in between the customer and Apache) this would be a redundant step, because Webfaction's already serving nginx.
(16 Jun '11, 23:08)
kevinburke
Yes, it would be redundant and only add to the response time for your site. But, if you use Nginx to serve your site directly rather than Apache then it can possibly lead to a performance gain.
(16 Jun '11, 23:14)
neeravk
|