Wednesday 17 February 2016

Best practice for hosting multiple express webservices

A bit new to express and node, but from what I understand node will need to be restarted upon every code change. What's the best practice if I'm serving up multiple webservices (completely different web APIs not related to eachother) in production? If I need to make a code change on Web service A, I'll also need to take down Web service B? I guess one option is to run each web service on a different instance of node?I'm aware of nodemon and supervisor but those are still bringing down node and back up.. I'm guessing they're better in a dev environment?

Submitted February 17, 2016 at 05:55PM by FatAssOgre

No comments:

Post a Comment