~/talk

How to Enforce and Verify Invariants in Weakly Consistent Databases

Talkat PLF 2023 · 2023-10-22..10-27· [distributed-systems]
links:none on file
links:none on file
links:none on file
slides:none on file

Study shows how to preserve application invariants on weakly consistent, geo‑replicated stores by combining weak ops with targeted strong handling: uses Antidote SQL’s non‑blocking touch/visibility column to retain conflicting rows rather than blocking, and generalises that touch idea to disjunctions and implications. Mechanisms are encoded and mechanically checked with VeriFx plus TLA+/TLC (models explore up to ~10 operations; four models for disjunctions), some proofs abort and tests validate specific examples while full automatic verification remains future work.

AI-written summary · about

  1. 0:00Maintaining invariants in local-first
  2. 2:49Locks fail for invariants
  3. 3:36Antidote SQL’s referential integrity
  4. 6:04Verifying invariant mechanisms
  5. 7:50Generalizing touching to disjunctions
  6. 10:18Conclusion and future directions
  7. 11:05Q&A: Application-specific vs general
  8. 12:29Q&A: Motivation for referential integrity
  9. 13:55Q&A: Model checking with operations
  10. 15:44Q&A: Formal proof tools in practice
  11. 16:28Q&A: Excluding operations for invariants
  12. 17:56Q&A: Transactions and CRDT semantics
  13. 20:01Q&A: Custom semantics for enforcement
~/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.