Separate droplets for mongoDB and nodejs
I’m looking to run a web app hosted on digital ocean. Basically, what I’d like is the following.
Server running linux and node.js.
MongoDB, with a RESTful interface so both a website and native apps can easily access the data.
Storage of static files, including the website files, and a boatload of images (since from what I understand, MongoDB is not as efficient at transmitting binary data, so it’s better to just have the records store links to the images in a cloud storage site).
Is it better to have the server with the static files on one droplet, and the database on another, or just lump them all together? Or if there is an even better alternative I’m all ears!