Database Reference
In-Depth Information
Lightweight transactions have a cost
Lightweight transactions allow us to maintain data integrity in the face of concurrent up-
dates but they don't do it for free. Because of Cassandra's distributed architecture, it's actu-
ally quite involved to guarantee that the data is in a certain state before modifying it, as all
the machines that store that piece of data need to be in agreement. Accordingly, there's a
performance penalty in using lightweight transactions; thus, you shouldn't use them in situ-
ations where you don't need to.
Search WWH ::




Custom Search