~/talk

Compiling Distributed System Models into Implementations with PGo

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

PGo compiles MPCal models to PlusCal for TLC and to executable Go, providing a MPCal→Go compiler plus a runtime library and plugins; it implements a Raft-based key‑value store (930 LOC MPCal, 7 archetypes, ~22 person‑days) that survives leader failover and re‑election and outperforms other spec‑to‑code baselines in throughput tests. Compilation uses local pre‑commit (two‑phase) with resource contracts, persistent state via RocksDB, modular verification of protocol+service, and implementation tracing with vector clocks and a trace‑checker to compare traces to the spec.

AI-written summary · about

  1. 0:00Introduction to PGo
  2. 1:09Distributed systems are hard
  3. 3:00What is PGo and why use it
  4. 6:32MPCal and modular pluscal
  5. 13:42Compilation process overview
  6. 18:20State machine and I/O handling
  7. 19:02Trusted code base size
  8. 20:06RAFT-based key-value store
  9. 25:44Failure recovery in practice
  10. 26:05Performance challenges
  11. 31:08Modular verification concept
  12. 35:40Modular verification results
  13. 36:01Implementation tracing introduction
  14. 45:31Implementation tracing details
  15. 45:52Summary and future work
  16. 46:13Q&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.