How do I set up a scalable architecture?


I’d like to have tips about a big wep app upcoming deployment in the cloud. I’m trying to move this app from my on-premise servers to the Digital Ocean cloud.

My app is written in Node.js. Occasionally like 2days/year I need to scale to deal with traffic increase.

My app uses clustering techniques to spawn more workers and take advantage of the multi-core architecture.

Now, my idea is to have a little server serving 365days per year this app, and spend as less as possible. And occasionally be able to automatically scale up (horizontally) to serve over 200 request per second and of course I’ll pay for that single day intensive usage. My load balancer is written in node.js with the node-http-proxy module. How do I monitor the Droplet CPU/Memory usage? How do I launch a new Droplet with my software already installed (clone?) ?

I Hope I was as clear as possible.

Let me know, any tip is appreciated.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

If you only need to scale your app for 2 days per year, I believe that the best fit for you would be to go with the DigitalOcean App Platform:

It lets you scale up and down your app whenever needed with just a few clicks and no actual server configuration.

You can follow the steps on how to scale an app here: