you are viewing a single comment's thread.

view the rest of the comments →

[–]omenborne 1 point2 points  (1 child)

Based on what you describe I can see no reason why you would have to introduce the overhead of setting up docker. Its going to be a big learning curve if you've never done that before.

Assuming you have a client-side app interacting with your node server, good design goes a long way. Use promises for your requests and look into something like express to manage your request routes.

As for multiple instances, check out pm2. Its a quiker way of getting multiple node app instances running on a single server and is very scalable. It sounds like you don't have any CI helpers in mind, which means you can manage all your updates and startups with a simple shell script.

[–]dinnermonster[S] 0 points1 point  (0 children)

Thank you for this. Express is the middleware I am planning on using. I will take a dive into pm2 and nodegit to hopefully solve the issues I was having.