3 ms·
What's a light weight transaction?
by gigatexal 8y ago
What's a light weight transaction?
- deleted 8y ago[deleted]
- erik_seaberg 8y agoA 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.
- gigatexal 8y agoThat’s a really succinct definition. I like it. Thank you.
- manigandham 8y agoTo 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.
- PeterCorless 8y agoPythian 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/ https://blog.pythian.com/lightweight-transactions-cassandra/