Live data from Hacker News

Riak - web-shaped data storage system

highscalability.com

21–22 of 22 posts

Re: Riak - web-shaped data storage system

#21
post #7
post #2

What are the differences, advantages, dis-advantages between Riak and CouchDB? I haven't found a comprehensive comparison till date. Edit: Yes, I have been a bit lazy not to go and try Riak first hand. I think I will do it sooner then later but as of now, any light on the subject will be appreciated.

They serve different purposes. Riak is a DHT (for key sharding) layer intended to run on top of different backends, just like Dynamo. CouchDB has an integrated storage engine. Riak doesn't support range queries (nature of DHT). I'm pretty sure CouchDB does, which is easy for a single node. CouchDB doesn't scale in the sense that it doesn't do any automatic sharding yet. It's quite possible to use CouchDB as a backend…

The Scalaris DHT supports range queries, I think.

http://www.zib.de/CSR/Projects/scalaris/

Re: Riak - web-shaped data storage system

#22
post #7

Earlier quoted context omitted.

They serve different purposes. Riak is a DHT (for key sharding) layer intended to run on top of different backends, just like Dynamo. CouchDB has an integrated storage engine. Riak doesn't support range queries (nature of DHT). I'm pretty sure CouchDB does, which is easy for a single node. CouchDB doesn't scale in the sense that it doesn't do any automatic sharding yet. It's quite possible to use CouchDB as a backend…

The Scalaris DHT supports range queries, I think. http://www.zib.de/CSR/Projects/scalaris/

DHT can certainly support range queries by broadcast and merge. The keyword in the context though is efficiently. Scalaris not a typical Dynamo like DHT. It's based on Chord, so it's possible support range scan with O(logn) metadata RPCs (n is number of nodes.) per query, which I wouldn't call efficient as these RPCs are expensive in that they not very cachable (nature of the DHT, unless the range query is exactly the same.) Typical Bigtable implementation can easily cache portion of metadata with clients and resulting 0 metadata RPC in many cases.
Post reply on HN