~/talk

Using TLA+ for fun and profit in the development of Elasticsearch

Talkat TLA+ Conference 2019 · on Thursday, 2019-09-12· [distributed-systems]
links:none on file
slides:none on file

Elasticsearch uses TLA+, PlusCal and the TLC model checker to validate core algorithms: a 860-line TLA+ spec models the new data replication algorithm (a sequence-number primary-backup design) that ships since v6 and checks safety under partitions and crashes; mapping Java code to PlusCal/TLA+ exposes two known concurrency bugs and one previously unknown bug, with TLC finds bugs within seconds in some cases; the cluster-coordination safety spec drove a one-to-one Java implementation now powering v7, and all specs are public on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 1:58Elasticsearch's data replication and clustering High-level architecture
  3. 3:48Towards a more resilient system A multi-year journey
  4. 5:50Data replication model A first formal specification for Elasticsearch
  5. 8:02Investigating concurrency and algorithmic bugs From implementation to formal model and back
  6. 9:40What is cluster coordination? A redesigned cluster coordination subsystem for Elasticsearch 7.0
  7. 12:18Cluster coordination TLA* spec
  8. 15:32Lessons learned
~/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.