eXtreme Modelling in Practice
A. Jesse Jiryu Davis, Max Hirschhorn, Judah Schvimer
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration 引用了 Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync Models
- SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration 引用了 Model Checking Guided Testing for Distributed Systems
- Model Checking Guided Testing for Distributed Systems 引用了 Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync Models
- Smart Casual Verification of the Confidential Consortium Framework 引用了 SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration
- Smart Casual Verification of the Confidential Consortium Framework 引用了 Model Checking Guided Testing for Distributed Systems
- An Empirical Study on Kubernetes Operator Bugs 引用了 Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync Models
- An Empirical Study on Kubernetes Operator Bugs 引用了 SandTable: Scalable Distributed System Model Checking with Specification-Level State Exploration
- An Empirical Study on Kubernetes Operator Bugs 引用了 Model Checking Guided Testing for Distributed Systems
引用它的顶会 Paper12
- Model Checking Guided Testing for Distributed SystemsDong Wang, Wensheng Dou, Yu Gao, Chenao Wu 等EuroSys 2023 · 21 次引用
- Smart Casual Verification of the Confidential Consortium FrameworkHeidi Howard, Markus A. Kuppe, Edward Ashton, Amaury Chamayou 等NSDI 2025 · 13 次引用
- Modulo: Finding Convergence Failure Bugs in Distributed Systems with Divergence Resync ModelsBeom Heyn Kim, Taesoo Kim, David LieUSENIX ATC 2022 · 10 次引用
- SandTable: Scalable Distributed System Model Checking with Specification-Level State ExplorationRuize Tang, Xudong Sun, Yu Huang, Yuyang Wei 等EuroSys 2024 · 8 次引用
- An Empirical Study on Kubernetes Operator BugsQingxin Xu, Yu Gao, Jun WeiISSTA 2024 · 7 次引用
相关 Paper
- Multi-Grained Specifications for Distributed System Model Checking and VerificationLingzhi Ouyang, Xudong Sun, Ruize Tang, Yu Huang 等EuroSys 2025 · 4 次引用
- Fault-Tolerant Replication with Pull-Based Consensus in MongoDBSiyuan Zhou, Shuai MuNSDI 2021 · 38 次引用
- Model-Guided Fuzzing of Distributed SystemsEge Berkay Gulcan, Burcu Kulahcioglu Ozkan, Rupak Majumdar, Srinidhi NagendraOOPSLA 2025 · 3 次引用
- Efficient state synchronisation in model-based testing through reinforcement learningUraz Cengiz Türker, Robert M. Hierons, Mohammad Reza Mousavi, Ivan Yu. TyukinASE 2021 · 7 次引用
- TreeSync: Authenticated Group Management for Messaging Layer SecurityThéophile Wallez, Jonathan Protzenko, Benjamin Beurdouche, Karthikeyan BhargavanUSENIX Security 2023
