Saturday 18 March 2017

Why are remote MongoDB services like MongoLab or Compose popular?

Why are remote hosted MongoDB databases from providers like MongoLab or Compose.io popular, versus a local MongoDB database?My confusion arises because when your application needs to save something to the database (which usually happens quite a bit), it would need to perform a network call to these remote services. That adds a ton of time onto something which should be quick like saving to a DB.This is compared to a local MongoDB instance in your own app. In this scenario, the app does not need to send a network request to save data.So why are these services popular? For something like a chat application, where you need to store each chat message in the DB, that adds up to a lot of network calls and increased latency. Am I missing something? What is the reasoning?

Submitted March 18, 2017 at 05:38PM by 5pitf1r3

No comments:

Post a Comment