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.
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
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
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.
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:
For example, if you are using MySQL you might have to tweak it for better performance as discussed here:
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