Skip to content
Wade Womersley

wade.one

wade womersley – york based software engineer

  • Home
  • 2023
  • March
  • 26
  • MongoDB vs DocumentDB

MongoDB vs DocumentDB

Posted on March 26, 2023March 26, 2023 By Wade
Programming, Software Engineer

I’ve been working on a new as-fast-as-possible platform for a specific situation I can’t go in to right now but I wanted to use MongoDB, however, I needed to reduce costs and use AWS so I wanted to use DocumentDB and needed to compare. Sadly DocumentDB does not cover 100% of MongoDB. Here’s the comparison:

Firstly, MongoDB has a more flexible data model that allows for easier and faster data retrieval. MongoDB uses a document-based data model, which makes it easy to store and retrieve complex data structures. On the other hand, DocumentDB is based on a table-based data model, which can make it more challenging to store and retrieve complex data.

Secondly, MongoDB offers better scalability and availability features. MongoDB has a sharding feature that allows you to scale your database horizontally by adding more nodes to your cluster. This feature makes it easier to handle large amounts of data and high traffic loads. Additionally, MongoDB offers better failover capabilities, which means that in the event of a node failure, the database can automatically failover to a replica node, ensuring that your data is always available.

Thirdly, MongoDB has a larger community and ecosystem, which means that it has more support and resources available to developers and administrators. The MongoDB community is active and vibrant, with many resources available online, including documentation, tutorials, and forums. The ecosystem also includes many third-party tools and integrations that can help you extend the capabilities of your database.

Fourthly, there is, at best, a 64% compatibility layer between the two platforms. You need to be able to develop locally but you cannot do that 100% with DocumentDB.

Lastly, MongoDB offers a more cost-effective solution than DocumentDB. MongoDB is an open-source database, which means that it is free to use and comes with a flexible licensing model that allows you to use it in commercial applications without incurring additional costs. On the other hand, DocumentDB is a proprietary database that requires a paid subscription, which can add up to significant costs over time.

In conclusion, while both MongoDB and DocumentDB have their strengths and weaknesses, I believe that MongoDB is a better choice for many applications due to its flexible data model, scalability and availability features, large community and ecosystem, and cost-effectiveness.

So there you go, you can use DocumentDB from AWS with their compatibility layer but it really is not enough.

Share:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit

Related

Comments

comments

Post navigation

❮ Previous Post: PHP 8.2 vs 7.4
Next Post: Expanding on performance of Redis vs MongoDB for a push/pull system ❯

You may also like

AI
Documentation Now Needs to Work for AI Agents Too
April 30, 2026
Programming
Why Most Software Projects Do Not Need a Rewrite
March 26, 2026
Programming
What Good Kotlin Code Feels Like After Too Much Java
April 7, 2026
Programming
Node.js 26 Finally Makes Temporal the Normal Date API
August 21, 2026
  • AI
  • artificial intelligence
  • Ego-centric
  • Events
  • Films
  • Food
  • Gaming
  • Gym
  • Hardware
  • Holidays
  • News
  • PHP
  • Programming
  • Random Stuff
  • Reviews
  • Science
  • SEO
  • Software
  • Software Engineer
  • Support
  • Uncategorized
  • Work

Categories

  • AI
  • artificial intelligence
  • Ego-centric
  • Events
  • Films
  • Food
  • Gaming
  • Gym
  • Hardware
  • Holidays
  • News
  • PHP
  • Programming
  • Random Stuff
  • Reviews
  • Science
  • SEO
  • Software
  • Software Engineer
  • Support
  • Uncategorized
  • Work

Archives

  • November 2026
  • October 2026
  • August 2026
  • July 2026
  • June 2026
  • May 2026
  • April 2026
  • March 2026
  • August 2023
  • April 2023
  • March 2023
  • April 2016
  • October 2015
  • July 2015
  • June 2015
  • May 2015
  • March 2015
  • February 2015
  • January 2015
  • October 2014
  • December 2013
  • September 2013
  • June 2013
  • October 2012
  • May 2012
  • March 2012
  • February 2012
  • April 2011
  • March 2011
  • October 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009

Copyright © 2026 wade.one.

Theme: Oceanly News Dark by ScriptsTown