Question

site fora do ar por causa de acessos

Posted December 26, 2019 124 views
DigitalOcean

My sites lately go down because sometimes there are spikes in access, like knowing how many people can be simultaneously connected on each plan?

Another doubt, is there any configuration where my site does not go down and my Droplets suits access automatically?

thanks

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.

×
1 answer

Hello,

This would really depend on your website, I could suggest a few things:

  • Run a few stess tests to see how many concurrent connections your website can handle, you can take a look at this article here on how to do that:

https://www.digitalocean.com/community/tutorials/an-introduction-to-load-testing

  • Try to optimize your website, for example, if you are using Wordpress, you could delete all unnecessary plugins, install a caching plugin which would reduce the load on the server

  • Maybe think of implementing a CDN, that way at least some of the load would be offloaded from the Droplet and will be handled by the CDN

  • Optimize your services like MySQL, Apache/Nginx, PHP and etc

  • Check your server resources usage and add additional resources. For example, if you notice that it is the RAM that is running really low, then upgrade your Droplet and add more RAM

Hope that this helps!
Regards,
Bobby

by Brian Boucheron
In this article, we'll talk about the server side of web performance optimization: how fast can your server respond to your user's requests? We'll review the general landscape of load testing, step through a plan to find your server's maximum practical response rate, and discuss some options for open source load testing software.
Submit an Answer