How to scale droplet for increased traffic?

Hi, I have a site and a forum each of which is hosted on one droplet. The site was down for a couple of hours because of increased traffic. Where or how do I see when the droplets reach their capacity limit and how do I adjust the droplets to meet the demands of increasing traffic? Many thanks, Torsten

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 @englishdotbest,

There is no certain full proof way.You’ll need to start gradually upgrading your droplet and see how it handles the traffic.

You can see when did the droplet reached it’s capacity limit in regards to CPU from your Control Panel -> Droplet -> Graphs.

As to the exact reason why, you’ll need to do this directly on the droplet. There you can check how many IPs were connected to your droplet using

netstat -punta

You can check your CPU usage using a tool like htop. Additionally, in htop you can check what exactly is taking so much CPU and RAM and work towards optimizing it. Having said that, you’ll just need to gradually update your droplet and see when it will be okay to function normally.

Additionally, depending on the services you use, you’ll need to start increasing their memory,slots,max connections, workers etc.

Regards, KDSys