~/talk

How Zalando improved offer creation throughput by x100 using Akka Sharded Cluster

Talkat XConf Europe 2022 · on Wednesday, 2022-07-20· [distributed-systems, scala]
links:none on file
links:none on file
slides:none on file

Zalando replaces a lock-heavy Postgres-based offer assembler with an actor-per-offer system using Akka Cluster Sharding, moving state into memory to eliminate DB locks, add per-node DB batching, and apply backpressure from a cluster singleton. The deployment hits ~100,000 events per second and >4 GiB/s (20x throughput), fixes GC pauses by switching to the G1 garbage collector, and stabilizes processing under real CyberWeek loads.

AI-written summary · about

  1. 0:00Start
  2. 1:31Throughput
  3. 2:55Product Offer Pipeline
  4. 6:20Race Condition
  5. 6:45Pessimistic lock
  6. 7:48Akka Actors in Action
  7. 9:31Akka Cluster Sharding
  8. 13:35Stateful Sets
  9. 16:19Contact Point Discovery
  10. 21:05Failure Detector
  11. 22:22Garbage Collector - CMS to G1
  12. 25:00Sharding Strategy
~/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.