Hi there, I’m working on a big data / analytics project, running entirely on a DO droplet (Ubuntu). The DB backend for this project is MongoDB.
So far, I’ve run the project (pre-production) on a MongoDB install on the droplet which I’m maintaining. In the past stages of the project, I’ve had issues where a python script, meant to fill the MongoDB with data, would hit the droplet’s CPU and RAM limits, and end up crashing the
mongod process. This would in turn mean that these scripts, all triggered from the crontab wouldn’t run, and data wouldn’t be ingested.
I want a scenario where I needn’t worry about my scripts breaking the MongoDB. In other words, I would like to get a managed DO MongoDB with basic resources, and for me to e.g. get an email if I the CPU/RAM that I’ve provisioned isn’t going to cut it, but for the code still to run and hence fill the database with data. Further, it would be great if this could mean that I could again reduce the resources I have for my droplet.
Thanks in advance for any help with this!
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.