~/talk

Building Financial Systems on Eventually Consistent DBs

Talkat Strange Loop 2018 · 2018-09-26..09-28· [databases, microservices]
links:none on file
slides:none on file

Billing platform for Netflix migrates from MySQL to Cassandra to gain horizontal scale and multi‑region availability for 125M+ customers, trading ACID for latency and complexity. Engineers use lightweight transactions and local quorum to limit conflicts, generate keys with UUID v5 invariants to dedupe SQS at‑least‑once delivery, and replicate writes to Kafka plus nightly Hive snapshots for OLAP. Result: 99% of traffic on the new system by July 2018, roughly 2× the processed volume in half the time, with operational monitoring to catch inconsistencies.

AI-written summary · about

  1. 0:00Intro
  2. 1:28Billing Engineering
  3. 3:53Netflix operates out of multiple AWS regions to ensure availability
  4. 4:46Single Master Single Point of Failure
  5. 5:05Read replicas
  6. 5:33Slave Promotion
  7. 6:07We needed something better...
  8. 7:16But it's not perfect, especially for a financial system
  9. 7:53So how do you build a financial system on top of it?
  10. 8:31Lightweight Transactions in Cassandra
  11. 9:22Update Consistency With Optimistic Locking
  12. 10:08Two Scenarios
  13. 10:45With Cassandra, last write wins
  14. 11:40How does Cassandra achieve fault tolerance?
  15. 12:21Local Quorum vs Each Quorum
  16. 13:29Insert Consistency
  17. 15:12Some things to consider
  18. 16:20Minimizing inconsistencies
  19. 18:38Building a financial system on top of Cassandra
  20. 19:44We built a poor man's relational schema
  21. 20:16Understand performance implications before using collection types
  22. 22:13Querying across rows
  23. 23:06Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.