Report this

What is the reason for this report?

droplet for both website and database

Posted on July 20, 2018

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.



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

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.

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.