droplet for both website and database

I currently have a droplet that just has a mongo instance on it, but I’ll be looking to setup a webserver to host an API website so I’m curious if I should have 2 droplets or just set up a big enough droplet to have both things on one server.

I know mongo can be memory intensive so I don’t want to risk having slow downs because too much is one one system.


Submit an 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.

Accepted Answer

The disk is SSD so there should not be that much “slowing down” and if it happens you can always migrate one application to a new droplet. Mongo will release the cached memory on a “less used” basis so you probably won’t notice anything.