Live data from Hacker News

DocumentDB – a MongoDB compatible open-source database

documentdb.io

11–14 of 14 posts

Re: DocumentDB – a MongoDB compatible open-source database

#12
post #2

Not only is it a mongodb interface on postgresql, it's built by Microsoft, and has joined the Linux foundation? Color me surprised. Did they build this for fun or what?

Microsoft built this so they can have a MongoDB compatible database service for Azure. A few years back MongoDB changed their license to AGPL to make it harder for companies to take their code and offer it as a service. They did this because it competes with the MongoDB Atlas service.

Mongo changed from AGPL, which is permissive enough to be usable by cloud providers, to SSPL which has even stronger copyleft making it unusable for cloud providers (and doesn't meet the OSI or FSF requirements).

Re: DocumentDB – a MongoDB compatible open-source database

#13

Earlier quoted context omitted.

Beyond other reason listed in the comments, Microsoft is heavily invested in Postgres. They bought Postgres sharding company ( https://www.citusdata.com ) and apparently it sees a ton of use internally even for newer Greenfield projects. Also, if check recent commits to Postgres, you will find Microsoft employees all over commit history. As I've commented several times before, MSSQL appears to be on life support. It…

As someone who spent over half a decade using MS SQL Server daily, I have to admit it's a very nice database, and better than Postgres for some use cases. This could be interesting! Postgres made the foundational design decision that every update is an insert leaving behind a stale row that'll get cleaned up eventually with its MVCC model. It's great for non-blocking read-heavy workflows (presumably the most common),…

You might be interested in OrioleDB, which is an id-development storage engine for postgres that relies on in place updates combined with undo logs.

Re: DocumentDB – a MongoDB compatible open-source database

#14
post #2

Not only is it a mongodb interface on postgresql, it's built by Microsoft, and has joined the Linux foundation? Color me surprised. Did they build this for fun or what?

Microsoft built this so they can have a MongoDB compatible database service for Azure. A few years back MongoDB changed their license to AGPL to make it harder for companies to take their code and offer it as a service. They did this because it competes with the MongoDB Atlas service.

Not super familiar with Azure, but didn't they already have Cosmos DB? Or is that just MongoDB under the hood?
Post reply on HN