Question

I have an API on digital ocean $6 droplets. Aiming at 100000 users and 10000 active users

I have an API on digital ocean $6 droplets. How much traffic can it handle? i am aiming at 100000 users and 10000 active users at least, what plan is suitable for me? The app is built with flutter while the API with python. Please advice.


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.

alexdo
Site Moderator
Site Moderator badge
July 5, 2024

Heya, @labourconnect

I’ll definitely suggest you to perform some tests on the droplet where you’ll simulate multiple simultaneous connections to see how the droplet performs in terms of resource usage.

While the droplet can usually handle small to moderate traffic without hassle, it is unlikely to handle heavy traffic that causes a lot of resource usage. You can always expand your droplet resources by upgrading it. On the other hand you can directly start with a scalable solution where you will not have to worry about this.

Regards

KFSys
Site Moderator
Site Moderator badge
July 5, 2024

Heya,

It’s really hard to pinpoint the exact Droplet you’ll need. This depends not only on traffic but on how optimized your API is, how much proccess power it needs to deliver one result and so on.

For that Number I can tell you that the $6 Droplet won’t be enough however, what you can do is start with that and if you are experiencing issues just upgrade to the next one until no issues are experienced anymore.

Bobby Iliev
Site Moderator
Site Moderator badge
July 4, 2024

Hi there,

It is really hard to tell how many active users a specific app can handle without knowing any of the specifics. Each app is individual and can have totally different resource requirements.

What you could do here is to do a load test and see how many requests your app can handle and which services are the bottleneck:

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

For example, if you are using MySQL you might have to tweak it for better performance as discussed here:

https://www.digitalocean.com/community/questions/how-to-tweak-mysql-mariadb-configuration-for-increased-performance-and-stability

Also a $6 Droplet comes with only 1GB of RAM, if you have multiple services running this might not be enough. But it is best to run your load test, see how many requests you can currently handle, tweak some of the services, added caching and then decide from there on weather you would need more resources to handle more traffic.

Hope that this helps! Feel free to share more details about your setup.

- Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more