Live data from Hacker News

Cassandra vs MongoDB vs CouchDB vs Redis vs Riak comparison

kkovacs.eu

1–10 of 96 posts

Re: Cassandra vs MongoDB vs CouchDB vs Redis vs Riak comparison

#2
My understanding is that in CouchDB you can't guarantee that older versions of documents will still exists (they might be there, but they could have been removed by compaction or not replicated).

However, there is a fairly nice way of storing older versions of documents - hold older versions as file attachments on the document. See:

http://jchrisa.net/drl/_design/sofa/_list/post/post-page?sta...

Re: Cassandra vs MongoDB vs CouchDB vs Redis vs Riak comparison

#4
post #2

My understanding is that in CouchDB you can't guarantee that older versions of documents will still exists (they might be there, but they could have been removed by compaction or not replicated). However, there is a fairly nice way of storing older versions of documents - hold older versions as file attachments on the document. See: http://jchrisa.net/drl/_design/sofa/_list/post/post-page?sta...

thanks. latest version of the article is here now http://blog.couchone.com/post/632718824/simple-document-vers...

Re: Cassandra vs MongoDB vs CouchDB vs Redis vs Riak comparison

#7
post #2

My understanding is that in CouchDB you can't guarantee that older versions of documents will still exists (they might be there, but they could have been removed by compaction or not replicated). However, there is a fairly nice way of storing older versions of documents - hold older versions as file attachments on the document. See: http://jchrisa.net/drl/_design/sofa/_list/post/post-page?sta...

Yes, if versioning is the main point, then surely one should take special measures to keep them, as in the case of invoices (stornoed, stornos stornoed, etc). As for a CMS system, for example, it's nice to have most of the history, but nobody gets hurt if some gets lost during replication outages, etc.

Just my $0.02 :)

K.

Re: Cassandra vs MongoDB vs CouchDB vs Redis vs Riak comparison

#10
post #8

> While SQL databases are insanely useful tools, their tyranny of ~15 years is coming to an end This shit, AGAIN? Really? No, they are not.

Not that they get thrown away, they are still very useful. But at least there's an alternative now.

I mean, seriously, Zabbix keeping monitoring data in MySQL? Also Piwik? That's a sick solution, IMHO. :)

(BTW, I love Zabbix and Piwik. Use them both. Only I think that having no good alternate data store at the time of their writing, their data storage is suboptimal.)

Post reply on HN