~/talk

Intro to Stateful Services

TalkinUkrainianat Software Architecture fwdays'23 · 2023-09-19..09-23· [microservices]
slides:none on file

Describes an architecture for low-latency, stateful services for a betting workload where stateless designs became too slow, unreliable and costly for 30 KB payloads at ~2000 updates per-second per tenant and end-to-end latencies spiking above one second when moving off single-node memory. The proposed approach uses Kafka change-streams to synchronize partitioned, in-memory stateful nodes keyed by tenant and evaluates tooling options (Pulsar, Faster, DuckDB and a custom stereoDB), with microbenchmarks reporting stereoDB handling ~3 million writes and millions of reads under optimized conditions.

AI-written summary · about

  1. 0:00Intro to Stateful services
  2. 4:41Traditional architecture problems
  3. 8:13Stateful concept and architecture
  4. 11:07Stateful performance benefits
  5. 17:17Over-fetching and optimization
  6. 22:22CPU Wait impact on performance
  7. 25:52Stateful vs stateless reliability
  8. 29:27Metal failures in high load
  9. 30:52Tools for stateful systems
  10. 34:04Stateful implementation experience
  11. 35:48Q&A
~/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.