Summary

Express in commercial production environments can look a little different, but for good reason. Many of the tasks Express/Node support can be performed better by other tools. In our application, we have tried to stay on the node stack; we have chosen to use stud to terminate SSL as our entire application runs on SSL. Stud will outperform all in this space, including Nginx and Haproxy. Stud will forward unencrypted responses to Hipache, which balances load. Hipache is based on node-http-proxy; it uses cluster for failover. More importantly, unlike node-http-proxy, it can manage memory, making it a reasonable choice for a load balancer.

Hipache works well, but if it's performance you really seek, Nginx and Haproxy are the de facto tools to ...

Get Advanced Express Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.