Re:ScyllaDB Open Source 3.0
by gigatexal on Thursday January 17, 2019 @02:59PM
(#18934039)
What's a light weight transaction?
[ Parent
| on HN ]
Re:ScyllaDB Open Source 3.0
by erik_seaberg on Thursday January 17, 2019 @03:15PM
(#18934177)
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.
Re:ScyllaDB Open Source 3.0
by manigandham on Friday January 18, 2019 @10:56AM
(#18940122)
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.
Re:ScyllaDB Open Source 3.0
by PeterCorless on Thursday January 17, 2019 @03:48PM
(#18934480)
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/