~/talk

Checking safety in Exactly-once

Talkat TLA+ Community Event 2020 · on Thursday, 2020-10-15· [distributed-systems]
links:none on file
slides:none on file

Exactly-once is a library that implements atomic commit between business state in Azure Cosmos DB and output messages sent from Azure Functions, relying on optimistic concurrency on Cosmos DB and no cross-partition transactions. A PlusCal/TLA+ model checks safety invariants like AtMostOneStateChange and matching state/version for outputs, finds expected and subtle bugs, reproduces failures on tiny models, and runs a larger 2-process 6-message model in about 2.5 hours.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46At-Least-Once delivery challenge
  3. 4:45Duplicate message problem
  4. 7:18Library design goals
  5. 8:51Azure Cosmos DB approach
  6. 9:52Algorithm overview
  7. 11:48TLA+ model validation
  8. 14:43Model specification
  9. 17:59Safety invariants
  10. 20:12Model checking results
  11. 24:56Conclusion and resources
~/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.