AWS DocumentDB is not MongoDB compliant, says MongoDB Inc. • The Register


interview Amazon’s DocumentDB database service is described as “MongoDB Compatible” by the cloud corporation, but MongoDB CTO Mark Porter has said it The registry this is not entirely the case.

MongoDB CTO Mark Porter at AWS Re: invent

DocumentDB is used to store, query, and index JSON data and its full name on AWS is “Amazon DocumentDB (with MongoDB compatibility).”

We were curious to learn more about the differences between MongoDB and DocumentDB and met with Porter at the Re: invent conference in Las Vegas.

“It’s not MongoDB compliant,” Porter said. “That is a falsehood… according to our tests it is 34 percent compatible. Most importantly, for our users and our customers, it is not compatible in all areas that make MongoDB so magical.

“There is no aggregation, there are no streams of change, there are not that many languages; it is a ‘Frankenbase’, there is no other word for it. They took our Apache 2.0 drivers (and that’s fine) and then they have a plug-in for PostgreSQL, and it’s based on Aurora PostgreSQL … you don’t get the benefits of MongoDB, you don’t get the benefits of relational , You get something in the middle.

“We believe if you want to use relational, use relational. If you want to use document, use document. We see no need for this product. “

Porter was hired as MongoDB CTO in July 2020. Before that, he was General Manager at AWS between May 2013 and October 2018, where he was responsible for Relational Database Service (RDS), Amazon Aurora and RDS for PostgreSQL.

AWS launched DocumentDB in January 2019. At the time, Shawn Bice, the company’s non-relational database veep, said AWS had decided to “build a new purpose-built document database from the ground up” with support for MongoDB APIs. The move was likely related to MongoDB’s introduction of the Server Side Public License (SSPL), which was developed because it was “too easy for cloud providers to get all of its value and not give anything back to the community.”

The SSPL is not recognized as an open source license by the OSI (Open Source Initiative).

We asked AWS about both MongoDB compatibility and the claim that it was based on PostgreSQL, and were directed to this FAQ which states that “‘MongoDB Compatible’ means Amazon DocumentDB is open source with the Apache 2.0 MongoDB 3.6 and 4.0 APIs interact. “

The current version of MongoDB is 5.0. PostgreSQL is not mentioned in the FAQ.

Did MongoDB ask AWS not to describe DocumentDB as MongoDB compliant? “We told them it was not MongoDB compliant … the important thing here is to focus on that AWS is a great partner for us, even though there is a part of AWS that produces DocumentDB we the vast majority of AWS are close, intimate, great partners. I think you can see that here on the show with our Emerald sponsorship. “

MongoDB was prominently represented at Re: invent, with two exhibition stands and a week-long takeover of a restaurant at the venue.

MongoDB, Porter assured us, was in excellent health. “Since the company was founded, we have had 200 million downloads of our community software [founded] 16 years ago. We had over 80 million of them in the last 12 months. We had over 10 million in November, ”he said.

These are non-commercial downloads, not customers, but Porter expressed the hope that “one day they will use our commercial products”.

Does MongoDB run on Graviton, the AWS ARM-based servers? “We’re not running on Graviton yet,” said Porter. “We’re working on it with the AWS team.”

What are the challenges? “If you’re at the application level, your code will be recompiled and it will work. That’s nice. When you run a server product or an operating system product, there is a close connection with the chip, the memory, the cache, the IO subsystem … so we are working on this integration. “

Porter is also an enthusiast for serverless, a topic that came up while discussing the claims for Rust.

Migrating MongoDB code from C ++ to Rust would make little difference to sustainability, he said, but “the other aspect I think about for sustainability is serverless. When people assign their own instances … We introduced serverless last year and the goal is to have a very high load so we can be more efficient, pay less to our vendors, use less hardware, and use less energy. “

Serverless is on AWS, Porter informed us, and is currently in beta. Will it actually be cheaper for customers than running their own instances?

“Our goal is to be more economical on a scale,” said Porter, “but we’re in beta right now.” ®


Comments are closed.