Saved in:
Bibliographic Details
Main Authors: Guo, Hua, Ji, Yunhong, Zhou, Xuan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.11566
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • Developing distributed systems presents significant challenges, primarily due to the complexity introduced by non-deterministic concurrency and faults. To address these, we propose a specification-driven development framework. Our method encompasses three key stages. The first stage defines system specifications and invariants using TLA${^+}$. It allows us to perform model checking on the algorithm's correctness and generate test cases for subsequent development phases. In the second stage, based on the established specifications, we write code to ensure consistency and accuracy in the implementation. Finally, after completing the coding process, we rigorously test the system using the test cases generated in the initial stage. This process ensures system quality by maintaining a strong connection between the abstract design and the concrete implementation through continuous verification.