As .NET developers currently we're using RavenDb
as our default choice of database, in the nosql
scenario. Now that Microsoft introduced DocumentDb
, a nosql
document database-as-a-service, we're looking for the differences between the two. Database-as-a-service does seems nice, as we run RavenDb on our own server.
Ayende Rahien as an interesting post, but it's a little outdated as it compares with an old DocumentDb
version. Nevertheless it's still a good read.
Edit: After reading Thoughts on Azure DocumentDB I started doubting about the pricing of DocumentDb
. Let's say my data model consists of 7 collections, this means I would have to pay 7 * $25 = $175 per month! I must be making some kind of mistake here, right!?
Edit2: The idea of the creators of DocumentDb seems to put more than one type of document into a single collection, which seems a bit odd to me after using ravendb
for a while now. The term collection
caused some trouble understanding DocumentDb
pricing as it is something completely different in DocumentDb
then in RavenDb
In which scenario would you choose DocumentDb
over RavenDb
?
The post recommends that you put a lot more stuff in a single collection than you would otherwise. I'm not sure of the wisdom of that long term, but they propose it as a way to keep costs down. Also, since there is no cross-collection transactional isolation, it might be better if you need to update more than one document at a time, to keep them in the same collection anyway.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With