Report this

What is the reason for this report?

How do I set up a scalable architecture?

Posted on April 16, 2016

Hi,

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.



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!

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.

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:

https://www.digitalocean.com/products/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:

https://docs.digitalocean.com/products/app-platform/how-to/scale-app/

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.