Hacker News new | ask | show | jobs
by manigandham 2706 days ago
https://docs.scylladb.com/using-scylla/cassandra-compatibili...

The big remaining item is lightweight transactions.

3 comments

Exactly! We're working on LWT & the consensus protocol behind it, Raft. Anyone heading to FOSDEM '19 in Brussels can hear this talk by Duarte Nunes: https://fosdem.org/2019/schedule/event/raft_in_scylla/
Also, for those looking for the side-by-side comparison with Cassandra, there's this page:

https://docs.scylladb.com/using-scylla/cassandra-compatibili...

What's a light weight transaction?
A compare-and-set request. E.g., I can read version 3 of a row, and write version 4 if the current version is still 3, so that if someone else writes version 4 I don't clobber whatever they just did.
That’s a really succinct definition. I like it. Thank you.
To be clear, "lightweight transactions" are a Cassandra specific term, nobody else uses that. Compare-and-set, atomic updates, or just transactions are the normal terms.
Pythian blog on the topic; note that Cassandra relies on Paxos as a consensus algorithm. Scylla will be using Raft: https://blog.pythian.com/lightweight-transactions-cassandra/