droplet for both website and database

Posted July 20, 2018 5k views
MongoDBApachePHPUbuntu 18.04

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.

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.

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