TLA+ @ LinkedIn Ambry and Venice
summary
Venice implements an active‑active leader‑follower state model to pull and publish replicas and targets a P99 single‑digit millisecond (some configs sub‑millisecond). A replication checker called LeapFrog consumes per‑replica changelogs with per‑site offset vectors and high‑water marks to decide consistent / eventually consistent / diverged; model checking finds two real risks: inconsistencies are only detectable after a subsequent write, and message offsets must never be reused. Ambry is a geo‑replicated multileader blob store with strong get‑after‑put guarantees, quorum writes, replication tokens, and a TLA+ spec used to refine TTL update semantics.
AI-written summary · about
chapters (19)
- 0:00Introduction to talk
- 0:43What is Venice
- 2:29Venice use cases and SLA
- 2:51Venice active-active architecture
- 3:54Leap Frog algorithm overview
- 6:00Leap Frog example walkthrough
- 9:26Why TLA+ for Leap Frog
- 11:12TLA+ spec for Leap Frog
- 13:21Operational insights from TLA+
- 14:44Benefits of spec-driven development
- 15:47Future work and open source
- 16:18Introduction to Ambry
- 16:59Ambry architecture overview
- 18:06Ambry replication protocol
- 20:36Why TLA+ for Ambry
- 21:59Design challenges in Ambry
- 23:25TLA+ for Ambry metadata
- 24:06TTL update API refinement
- 27:19Summary and Q&A
