MongoDB: How to Build a Global Database as a Service