CosmosDB DocumentDB-API vs CosmosDB MongoDB-API?

Viewed 3486

Since DocumentDB and MongoDB are both document-oriented DBs it seems that they can model the same type of data and both are well suited for to solve the same problems.

Besides the different ecosystem, DocumentDB's lock-in to Azure, and strengths/experience of the team, is there anything else to consider when choosing one over the other?

I would assume that since DocumentDB was developed by Microsoft for Azure, with CosmosDB architecture in mind, it would have a cost advantage over the MongdoDB API? How big of a cost advantage is DocumentDB-API over MongoDB-API for the same type of data storage & requests?

I'm trying to decide between CosmosDB DocumentDB-API and CosmosDB MongoDB-API for a new project. Thanks.

If you were to start a new project on CosmosDB, and know DocumentDB and MongoDB equally well, and needed a document-oriented db, which API would you choose and why?

3 Answers
Related