Report this

What is the reason for this report?

Database Region Performance or Best Practice

Posted on February 18, 2016

Hello, I have a Node.js app with Nginx reverse proxy setup. I’m using SF1 for my current Region because most of my traffic is from West Coast (USA). I’m trying to plan for scaling out and performance enhancements and the topic of the MongoDB server (droplet) came up.

If I expand droplets to NY1/2/3 for regional traffic redirection should I also setup a synced MongoDB server in the same region? If so, are there best practices for managing the sync between both database servers?

Any tips on multi-region / datacenter droplets on this topic help! Thanks,



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.

This comment has been deleted

Hey there!

There is definitely value to having your data in more than one region. When running a separate database server, having that replicated locally near your application server is absolutely going to be a positive thing for performance. Someone around here may know a little more MongoDB than me (MySQL for life), but check out this guide for setting up MongoDB replication:

https://www.digitalocean.com/community/tutorials/how-to-implement-replication-sets-in-mongodb-on-an-ubuntu-vps

Kind Regards, Jarland Platform Support Specialist

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.