How to choose database and backend server locations?

I could not find a tutorial for beginners for how to locate my servers.

For instance I use for my MongoDB and DigitalOcean for my Meteor.js app.

Lets say I want to have fast service in Germany. Now the closest I can get to Germany with Compose is London. Should I now place my DigitalOcean backend server close to my DB server in London? Or better place my backend in Germany (DO offers Frankfurt as a location)?


Physical location does not necessarily correlate with “logical” network location, so you’ll need to do more testing and research.

You want your application to be as “close” (in terms of network latency and throughput) to your database as possible, preferably in the same datacenter.

Unfortunately there’s no template for how to figure this out other than to rent (temporarily) servers in each of your proposed locations and then test communications with the database server. If the vendors are kind, perhaps they’ll be willing to do this testing for you, or at the very least, ping your database instance and provide the results.

Source : Link , Question Author : Obiwahn , Answer Author : EEAA

Leave a Comment