~/talk

Obtaining Statistical Properties by Simulating Specs with TLC

Talkat TLA+ Conference 2022 · on Thursday, 2022-09-22· [distributed-systems, testing]
slides:none on file

Uses TLA+ with TLC generate mode to collect counters into CSV and validate statistical claims empirically. Implements modular rationals and a CSV write helper, plus a postcondition g-square check to detect skewed samples. Reproduces Knuth–Yao fair-die and Crooked-coin distributions (matches PRISM), finds eager-abort is a huge de-optimization in EWD 998, exposes severe churn in a RabbitMQ client (hundreds of queue releases) and fixes it with a non-active-release optimization, and shows sticky Kafka assignment dramatically cuts revocations.

AI-written summary · about

  1. 0:00Introduction to simulation with TLC
  2. 5:09Demo introduction and setup
  3. 10:29Knuth-Yao die simulation
  4. 15:32Crooked coin simulation
  5. 25:12Testing intuition with EWD998
  6. 34:44Real-world case studies
  7. 45:14SWIM protocol analysis
  8. 45:34RabbitMQ client library study
  9. 50:55Kafka partition assignment
  10. 53:17Technique effectiveness and limitations
  11. 57:34Q&A and closing
~/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.