Hacker News new | ask | show | jobs
by robusto 2705 days ago
Congrats to the Scylla team! These features and performance improvements are pretty huge for people working with Apache C* that want to evaluate Scylla. Compatible storage formats will certainly make evaluations much easier. Also, hope the Scylla experience with MVs is better...

As far as compatibility w/ Apache Cassandra 3.x+, is there anything outstanding?

1 comments

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

The big remaining item is lightweight transactions.

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/