Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra vs Riak [closed]

Tags:

I am looking for an eventually consistent data store and it looks like it may be coming down to Riak or Cassandra. Has anyone got expereinces of a view on this?

like image 284
yazz.com Avatar asked Jan 23 '10 14:01

yazz.com


People also ask

Is Riak still supported?

Riak was originally developed by engineers employed by Basho Technologies and maintained by them until 2017 when the rights were sold to bet365 after Basho went into receivership. Riak was originally licensed using a freemium model. It is now completely open-source including all the enterprise features.

When should you not use Cassandra?

When it's a 'no' Cassandra has limitations when it comes to: ACID transactions. If you expect Cassandra to build a system supporting ACID properties (Atomicity, Consistency, Isolation and Durability), unfortunately, it won't work.

Is Riak good?

Riak KV is a highly available, scalable and easy to operate distributed NoSQL database. One of the major things about it is the fact that it automatically distributes data across the cluster to ensure fast performance and fault-tolerance.


2 Answers

As you probably know, they are both architecturally strongly influenced by Dynamo (eventually consistent, no single points of failure, etc). Both also go beyond Dynamo in providing a "richer than pure K/V" data model -- in Cassandra's case, providing a Bigtable-like ColumnFamily mode, in Riak's, a Document-oriented one. I have seen sane people choose both.

I believe points that favor Cassandra include

  • speed
  • support for clusters spanning multiple data centers
  • big names using it (digg, twitter, facebook, webex, ... -- http://n2.nabble.com/Cassandra-users-survey-tp4040068p4040393.html)

Points that favor Riak include

  • map/reduce support out of the box

/Cassandra dev, fwiw

like image 163
jbellis Avatar answered Nov 03 '22 22:11

jbellis


Riak is used by

  • Mozilla Foundation
  • Ask.com sponsored listings
  • Comcast
  • Citigroup
  • Bet365

I think they both pass the test of credible reference customers/users.

Cassandra seems more mature, and is currently doing better in benchmarks. Riak seems easier to add a node to as your cluster grows.

like image 26
rmxz Avatar answered Nov 03 '22 21:11

rmxz