Live data from Hacker News

Amazon DocumentDB, with MongoDB compatibility

aws.amazon.com

21–30 of 323 posts

Re: Amazon DocumentDB, with MongoDB compatibility

#21

Looks good. I used to use both MongoDB and CouchDB (for very different use cases) a lot but haven’t touched them in a long while.

Out of curiosity, what use cases did you have for CouchDB that weren't feasible with MongoDB?

The best part of CouchDB is PouchDB, in my opinion. It's kinda cool having an in browser database that just syncs "almost effortlessly" with the cloud hosted version.

Re: Amazon DocumentDB, with MongoDB compatibility

#22

seems an obvious response to https://www.mongodb.com/press/mongodb-issues-new-server-side...

Azure has been running a Mongo-compliant DB under their Cosmos umbrella for quite a while. It's not clear to me that either Azure or AWS are actually running Mongo software under the hood or rather a proprietary DB that uses the Mongo wire protocol.

https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb-int...

Re: Amazon DocumentDB, with MongoDB compatibility

#24

Looks good. I used to use both MongoDB and CouchDB (for very different use cases) a lot but haven’t touched them in a long while.

Out of curiosity, what use cases did you have for CouchDB that weren't feasible with MongoDB?

In my case, at least, PouchDB is still a lot handier of an offline-first mobile-capable DB than just about anything else, and because it speaks the CouchDB replication/sync API that still leaves a lot of use cases where CouchDB is more feasible. (It would be great to have more document DBs converge on a replication/sync API for offline-first applications. I've voted on the UserVoice suggestions to CosmosDB on the idea.)

Re: Amazon DocumentDB, with MongoDB compatibility

#25

seems an obvious response to https://www.mongodb.com/press/mongodb-issues-new-server-side...

I think it is likely it was the other way around. MongoDB caught wind of what AWS was about to release and changed the license.

Does that even apply? This is api-compatible, but doesn't appear to be using any actual MongoDB code.

Re: Amazon DocumentDB, with MongoDB compatibility

#27

Serious question: is there any real reason to use Mongo over Elasticsearch?

Elasticsearch is a distributed index, not a reliable document store. You can expect availability problems and data loss. This is fine, because you can rebuild the index from your source of truth.

Re: Amazon DocumentDB, with MongoDB compatibility

#29
post #18

If I'm reading the pricing page correctly, DocumentDB would run a _minimum_ of $200/month. That's for the smallest instance and no storage or I/O. Kind of steep if you ask me.

AWS pricing is so strange. They give you 25GB of DynamoDB for free and charge 25 cents per million reads (under 4K, i think).

$200 minimum means almost no indie developer will even try it.

Re: Amazon DocumentDB, with MongoDB compatibility

#30

Earlier quoted context omitted.

DynamoDB has specific requirements on how data is partitioned. You have to do upfront planning on how you access your data based on keys. Mongodb is more flexible in this regard. I’m sure there’s other big differences but this is the biggest to my experience with both.

I was asking about DocumentDB, not MongoDB, but maybe I missed something. From their site: > Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 API by emulating the responses that a MongoDB client expects from a MongoDB server, allowing you to use your existing MongoDB drivers and tools with Amazon DocumentDB So, is this a "managed MongoDB" or is it a NOSQL AmazonDB that just implements the same API…

I would imagine this doesn't use any MongoDB code, or else the SSPL license would brutalize them. That said, I would be surprised if the experience is much worse.
Post reply on HN