~/talk

Practical Insights from Datadog’s Use of TLA+ and Simulations

Talkat TLA+ Conf 2024 · on Monday, 2024-04-15· [software-architecture, observability]
links:none on file
slides:none on file

Built a new queue system called Courier backed by FoundationDB with a gRPC broker layer and a sequencer that pushes hot messages to Redis; verification uses TLA+ model checks 5M+ states that prove “no duplicate leases” and “no lost messages” for the core design, but the Redis sequencer model uncovers a liveness gap where receivers can give up before the sequencer runs. Performance study uses a discrete-event simulation in simpai driven by FoundationDB CPU-costs and node-loss scenarios; simulation predicts — and live experiments confirm — throughput collapse near ~60% node loss.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:27Evolution of Delany system
  3. 3:29Introducing Courier design
  4. 5:14Motivation for TLA+ modeling
  5. 6:17TLA+ model structure
  6. 7:21Model checking results
  7. 8:03Benefits of formal modeling
  8. 9:05TLA+ vs PlusCal comparison
  9. 9:49Modeling replication bug
  10. 10:09Limitations of formal methods
  11. 11:12Quorum failure mode analysis
  12. 12:16Introduction to simulations
  13. 13:20Discrete event simulation setup
  14. 14:23Simulation results analysis
  15. 15:47Understanding throughput oscillations
  16. 16:51Simulation validation in production
  17. 17:12Performance testing challenges
  18. 18:16Adding Redis sequencer
  19. 19:19Modeling Redis integration
  20. 20:24Combining modeling and simulations
  21. 20:45Development process impact
  22. 21:27Future with deterministic simulators
  23. 23:14Go runtime determinism challenges
  24. 24:16Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.