46

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
Bart De Vos
  • 17,761
  • 6
  • 62
  • 81
naivedeveloper
  • 581
  • 1
  • 4
  • 6

2 Answers2

26

Check out this link: http://cuppster.com/2011/05/12/diy-node-js-server-on-amazon-ec2

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

zaub3r3r
  • 900
  • 7
  • 9
-2

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.

Tom Shaw
  • 3,702
  • 15
  • 23