I think I also read many other blogs suggesting serving static files with nginx in front of nodejs. Are you sure that this does not make sense?
I think I also read many other blogs suggesting serving static files with nginx in front of nodejs. Are you sure that this does not make sense?
As the article mentions, you'll probably want a load balancer for high availability. Whether you use haproxy or nginx for that is a whole different discussion.
You should aim to have the bulk of your payload be static, and all of the static payload be served by apache or nginx. It's the difference between getting good feedback from a Show HN post or completely missing out and looking like a fool.
Something's massively wrong with your node setup. node won't be as fast, but it should be on the same order of magnitude as nginx: https://github.com/observing/balancerbattle (or any other benchmark)