Hacker News new | past | comments | ask | show | jobs | submit login

That's not true for Cassandra. Cassandra allows for stronger consistency, if you only wish to trade some performance for it. If R + W > RF, you are guaranteed to get at least the latest successfully written value. There may be only a temporary inconsistency: during the write some nodes may see the old value, but some other may already see the new value.



Sure, if you're willing to trade off latency. As I understand it, if all reads and writes are QUORUM, Cassandra is Consistent (and not Available).

However, I was under the impression that this is not the "default" and I am likely to get performance poorer than distributed systems designed to be Consistent (like HBase).


Not so: first, writes are always sent to all replicas, so throughput for ONE and QUORUM is identical. The primary difference is that ONE is allowed to complete when more nodes are down.

It's true that QUORUM reads will have half (in a 3-replica system) the throughput as ONE, but with Cassandra reads up to 8x as fast as HBase [1], it still wins handily.

Finally, the reason this is worth making configurable in the first place is that almost all applications do just fine with most operations at ONE.

[1] http://vldb.org/pvldb/vol5/p1724_tilmannrabl_vldb2012.pdf




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: