Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently developing a project using node, and as I'm approaching the launch, I'm struggling to find resources on how to setup node for use on a commercial, production server. Most resources I have seen have consisted of contrived, simple examples without taking into account scalability and fault tolerance. So, my question is, can anybody offer advice or point me to resources for setting up a node installation that:

  • Is fault tolerant. If an instance crashes, it needs to be logged and restarted
  • Creating a pool of node instances that can be load balanced
  • Provide useful insights into resource usage
  • Production node security practices
  • Anything else that would be helpful in a production web environment that I am surely missing
share|improve this question
up vote 25 down vote accepted

Check out this link:

For load balancing and static content delivering i would use nginx.

share|improve this answer
+1 For the useful link - also check the follow up to that blogpost: – Henk May 28 '11 at 20:44
Great. Thanks for the resources. I'll check them out. – naivedeveloper May 29 '11 at 18:50

Amazon EC2 was mentioned by @zaub3r3r so I think it's only fair to mention Joyent. No commercial relation, I'm just a huge fanboy of their team:

I guess my point is: even if you don't go for cloud hosting, pay attention to what these guys say.

share|improve this answer
DO you have specific articles they might've written on the subject? – Paul Aug 26 '11 at 23:16
@Paul Which subject in particular? – Tom Shaw Aug 29 '11 at 5:14
. . . The original poster's subject? How to best setup a node.js production server? – Paul Aug 30 '11 at 4:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.