WebFaction
Community site: login faq

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
2711115
accept rate: 0%


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,

http://docs.webfaction.com/user-guide/_images/inside-the-server.png
permanent link

answered 16 Jun '11, 20:56

johns
5.4k312
accept rate: 23%

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×225
×186

question asked: 16 Jun '11, 20:39

question was seen: 3,812 times

last updated: 16 Jun '11, 23:14

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM