MENU

Fun & Interesting

Evolving Transactions in Apache Cassandra - Benedict Elliot Smith

The ASF 1,239 4 years ago
Video Not Working? Fix It Now

Thank you to all of of our ApacheCon@Home 2021 sponsors, including: STRATEGIC --------------- Google PLATINUM -------------- Apple Huawei Instaclustr Tencent Cloud GOLD ----------- Aiven OY AWS Baidu Cerner Didi Chuxing Dremio Fiter Gradle Red Hat Replicated Evolving Transactions in Apache Cassandra - Benedict Elliot Smith A presentation from ApacheCon@Home 2021 https://apachecon.com/acah2021 Cassandra offers its users “tuneable consistency,” but many users simply require strong causality - and want their database to provide it efficiently, without caveat or ceremony. After a quick crash course in Paxos, we’ll explore how transactions work today in Cassandra. We’ll then take a look at how Cassandra’s Paxos implementation can be improved over the coming year. Initially we’ll see how these workloads can be made more efficient by reducing the number of messages that must be exchanged within the cluster, incrementally taking the number of round-trips from four to one. We’ll follow up with a dive into how we can improve Cassandra’s transactions to provide atomicity when modifying many database records together (LWTs across multiple partitions). Since this kind of distributed problem is notoriously difficult, we will also explore how this evolution can be done with confidence, ensuring the safety of our users’ data and workloads.

Comment