How to estimate traffic a server can handle?

How much traffic a server can handle depends on many factors but how can you give an estimate? Is there sort of equation you use to calculate such values or what exactly?

Any help/previous experiences is highly 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.

Hi @omarelsafwany,

Unfortunately, there is no such way to pinpoint the exact traffic a server can handle. This as you mentioned is dependant on many factors.

I’ll try to mention each factor that plays a big role in a server/droplet handling traffic. Firstly, let’s take a look at the server-side.

Server side-wise, the factor can be determined by two things, how well is the server optimized and what services it’s using. Usually, you have a type of SQL(MySQL)and a WebService (Apache/Nginx) at the very least. In regards to MySQL and how much the server can handle it depends on the databases, if they are not optimized a lot less than usual. The same goes regarding Apache/Nginx.

Having said the above, there are ways to optimize them and increase their productivity like using server-side caching services like OPcache. Additionally, regarding web services, you can use php-fpm for instance which again increases its capacity.

The next big thing is your website and how heavy it is. Again, like the server-side stuff, you can always optimize it to increase its productivity on the server. These optimizations can be in caching your website, optimizing image sizes, minimizing javascript, CSS, and other similar file sizes, and so on.

All in all, there is no formula as far as I’m aware that will help you with estimating this unless you know all the variables. My suggestion is always the same. Start with the smallest droplet and when you see the need, upgrade it to a bigger one.

Regards, KFSys