Lune

VLDB2020Top-tier venue

eXtreme Modelling in Practice

A. Jesse Jiryu Davis, Max Hirschhorn, Judah Schvimer

Abstract

Formal modelling is a powerful tool for developing complex systems. At MongoDB, we use TLA + to model and verify multiple aspects of several systems. Ensuring conformance between a specification and its implementation can add value to any specification; it can avoid transcription errors, prevent bugs as a large organization rapidly develops the specified code, and even keep multiple implementations of the same specification in sync. In this paper, we explore model-based testing as a tool for ensuring specification-implementation conformance. We attempted two case studies: model-based trace-checking (MBTC) in the MongoDB Server's replication protocol and model-based test-case generation (MBTCG) in MongoDB Realm Sync's operational transformation algorithm. We found MBTC to be impractical for testing that the Server conformed to a highly abstract specification. MBTCG was highly successful for Realm Sync, however. We analyze why one technique succeeded and the other failed, and advise future implementers making similar attempts at model-based testing.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration cites Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync Models
  • SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration cites Model Checking Guided Testing for Distributed Systems
  • Model Checking Guided Testing for Distributed Systems cites Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync Models
  • Smart Casual Verification of the Confidential Consortium Framework cites SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration
  • Smart Casual Verification of the Confidential Consortium Framework cites Model Checking Guided Testing for Distributed Systems
  • An Empirical Study on Kubernetes Operator Bugs cites Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync Models
  • An Empirical Study on Kubernetes Operator Bugs cites SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration
  • An Empirical Study on Kubernetes Operator Bugs cites Model Checking Guided Testing for Distributed Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Model Checking Guided Testing for Distributed SystemsDong Wang, Wensheng Dou, Yu Gao, Chenao Wu et al.EuroSys 2023 · 21 citations
  2. Smart Casual Verification of the Confidential Consortium FrameworkHeidi Howard, Markus A. Kuppe, Edward Ashton, Amaury Chamayou et al.NSDI 2025 · 13 citations
  3. Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync ModelsBeom Heyn Kim, Taesoo Kim, David LieUSENIX ATC 2022 · 10 citations
  4. SandTable: Scalable Distributed System Model Checking with Specification-Level State ExplorationRuize Tang, Xudong Sun, Yu Huang, Yuyang Wei et al.EuroSys 2024 · 8 citations
  5. An Empirical Study on Kubernetes Operator BugsQingxin Xu, Yu Gao, Jun WeiISSTA 2024 · 7 citations

Related papers

  1. Multi-Grained Specifications for Distributed System Model Checking and VerificationLingzhi Ouyang, Xudong Sun, Ruize Tang, Yu Huang et al.EuroSys 2025 · 4 citations
  2. Fault-Tolerant Replication with Pull-Based Consensus in MongoDBSiyuan Zhou, Shuai MuNSDI 2021 · 38 citations
  3. Model-Guided Fuzzing of Distributed SystemsEge Berkay Gulcan, Burcu Kulahcioglu Ozkan, Rupak Majumdar, Srinidhi NagendraOOPSLA 2025 · 3 citations
  4. Efficient state synchronisation in model-based testing through reinforcement learningUraz Cengiz Türker, Robert M. Hierons, Mohammad Reza Mousavi, Ivan Yu. TyukinASE 2021 · 7 citations
  5. TreeSync: Authenticated Group Management for Messaging Layer SecurityThéophile Wallez, Jonathan Protzenko, Benjamin Beurdouche, Karthikeyan BhargavanUSENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines