~/talk

Compiling Distributed System Models into Implementations with PGo

links:none on file
slides:none on file

Project defines Modular PlusCal and a PGo compiler that translates MPCal to TLA+ for TLC model checking and also emits executable Go. It isolates resources (network, filesystem) so the compiler can generate per-archetype Go functions, produces a runnable system after a small hand-written main, and demonstrates a load‑balancer setup (one client, two servers, buffer=1) that model checks and runs. Generated code is correct-by-construction relative to the checked model but the compiler itself is unverified and current performance is ~10–20% slower than hand‑tuned Go.

AI-written summary · about

  1. 0:00Intro
  2. 1:25Motivation
  3. 2:26Bugs in Distributed Systems
  4. 2:53Protocol Descriptions Are Not Enough
  5. 3:34One key problem for distributed systems
  6. 4:04Related Work
  7. 5:22Model Checking a Bank Transfer
  8. 6:06Visualizing an Error Trace
  9. 6:31PGo compiler toolchain
  10. 7:23PGo trade-offs
  11. 9:47In today's talk
  12. 12:44Use macros?
  13. 15:14Invent a new kind of macro: archetype
  14. 16:51Modular PlusCal: System vs Environment
  15. 17:44The Modular PlusCal Language
  16. 18:26Web server example
  17. 18:54Abstract Server with Buffered Network (PlusCal)
  18. 19:42Abstract Server with Buffered Network (MPCal)
  19. 20:31Environment Abstractions: Buffered Network
  20. 22:13Environment Abstractions: Filesystem Read
  21. 22:53Putting it All Together: Instances
  22. 29:05Coming Back to the Server Example
  23. 29:38Interleavings between Processes
  24. 30:14Preserving Modular PlusCal Semantics in Go
  25. 31:20Reasoning about Concurrency (part 2)
  26. 32:41Executing an Atomic Step in Go
  27. 33:28Deadlocks!
  28. 33:51Reasoning about the Execution Model
  29. 34:17Resources Mapped as Functions
  30. 35:18Solution
  31. 35:52Executing a Modular PlusCal step (action) in Go
  32. 36:26Linking Abstractions and Concrete Implementations
  33. 36:40Environment Implementations: Requirements
  34. 37:27Handling Errors
  35. 48:22Performance results: Load Balancer
  36. 48:44Discussion: Limitations and Future Work
~/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.