~/talk

Building confidence in concurrent code with a model checker

Talkat NDC London 2023 · 2023-01-23..01-27· [frontend-architecture]
slides:none on file

Demonstrates using TLA+ / TLC to model-check concurrency: a count-to-three model reveals a deadlock reached until a loop (stuttering) and weak fairness are added; a producer/consumer model shows one-producer/one-consumer passes but two-producer/two-consumer fails (the model explores ~38 interleavings); a zero‑downtime deployment model is built with server-state maps and a load balancer and evolves through counterexamples to a working design. Models are compact (≈50 lines) and the checker gives concrete failing traces to guide fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Why focus on concurrency
  3. 3:57Model checking and TLA Plus
  4. 9:57Confidence in concurrency
  5. 15:12TLA Plus syntax and concepts
  6. 22:16Model counting to three
  7. 29:37Temporal properties and fairness
  8. 38:46Producer-consumer basics
  9. 46:49Multiple producer-consumer
  10. 53:08Zero downtime deployment
  11. 1:03:17Summary
~/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.