|
|
|
|
|
by nomailing
3818 days ago
|
|
Don't you think nginx is better for serving static files? I first served directly croon node with express and did a test with chrome with a simulated modem connection speed. A simultaneous fast client was blocked because the number of connection nodejs/express was exhausted by the slow modem connection getting a lot of js files... 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.