mskw
mskw

Reputation: 10308

How to code a Node.js Server to support multi-server horizontal scaling

does anyone have experience in using node.js server in a Cloud computing environment like Google Compute Engine/AWS that allows auto-scaling?

Is there any things to watch out for in your code if provider clones your node.js server across servers(Horizontal scaling)?

Upvotes: 1

Views: 50

Answers (1)

Kamran
Kamran

Reputation: 3527

As long as your Node.js server is stateless, you can create a instance template of your server and use Google Autoscalar to automatically add or remove instances from a managed instance group based on increases or decreases in load. I recommend watching this video.

Upvotes: 1

Related Questions