Report this

What is the reason for this report?

Managed mysql database for small app

Posted on April 5, 2021

Hello, we have a small application running on a droplet and this application receives an average of 160 requests / minutes and performs some CRUD operations on the database. In each request, a connection is opened with the database and closed just before the response.

Despite the small number of requests, every minute the data is updated in the database, so we thought about activating the digital ocean managed database, so we don’t have to worry about backups.

Would the $ 15 usd plan of the managed mysql database be enough for a small application like this? Or is this plan indicated only for development or testing?



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.
0

Hi there,

I believe that 160 requests per minute should be OK, this is a little bit less than 3 queries per second. However, it really depends on the complexity of the queries and the amount of data. If you are doing a lot of selects, I could suggest adding some indexes.

Also what I could suggest is testing your application and see how it performs. You could deploy a managed cluster and only keep it running for a few hours and use it to do some load testing. After the tests, you could destroy the cluster and would be charged only for the time when the cluster was up and running.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.