Go to content

Light Weight Transactions Under Stress (Christopher Batey, The Last Pickle)

Slides: https://www.slideshare.net/DataStax/light-weight-transactions-under-stress-christopher-batey-the-last-pickle-cassandra-summit-2016 | The Strong Consistency provided by QUORUM reads in Cassandra can still lead to read-write-modify problems when applications want to do things such as guarantee uniqueness or sell exactly 300 cinema tickets. Fortunately Light Weight Transactions (LWT) are designed to solve the problems Strong Consistency can not. In this talk Christopher Batey, Consultant at The Last Pickle, will discuss: - Syntax and semantics: Theoretical use cases - How they work under the covers Then we will go through LWTs in practice: - How do the number of nodes/replicas/data centres affect performance? - How does contention (multiple concurrent queries using LWTs) affect availability and performance? - What consistency guarantees do you get with other LWTs and non-LWTs? - How does LWT timeout differ from normal write timeout? - Use case: LWTs as a distributed lock and how it went wrong 5 times. About the Speaker Christopher Batey Consultant / Software Engineer, The Last Pickle Christopher (@chbatey) is a part time consultant at The Last Pickle where he works with clients to help them succeed with Apache Cassandra as well as a freelance software engineer working in London. Likes: Scala, Haskell, Java, the JVM, Akka, distributed databases, XP, TDD, Pairing. Hates: Untested software, code ownership. You can checkout his blog at: http://www.batey.info

July 26, 2016