Performal: Formal Verification of Latency Properties for Distributed Systems
Author(s)
Zhang, Tony Nuda; Sharma, Upamanyu; Kapritsos, Manos
Download3591235.pdf (681.4Kb)
Publisher with Creative Commons License
Publisher with Creative Commons License
Creative Commons Attribution
Terms of use
Metadata
Show full item recordAbstract
Understanding and debugging the performance of distributed systems is a notoriously hard task, but a critical one. Traditional techniques like logging, tracing, and benchmarking represent a best-effort way to find performance bugs, but they either require a full deployment to be effective or can only find bugs after they manifest. Even with such techniques in place, real deployments often exhibit performance bugs that cause unwanted behavior.
In this paper, we present Performal, a novel methodology that leverages the recent advances in formal verification to provide rigorous latency guarantees for real, complex distributed systems. The task is not an easy one: it requires carefully decoupling the formal proofs from the execution environment, formally defining latency properties, and proving them on real, distributed implementations. We used Performal to prove rigorous upper bounds for the latency of three applications: a distributed lock, ZooKeeper and a MultiPaxos-based State Machine Replication system. Our experimental evaluation shows that these bounds are a good proxy for the behavior of the deployed system and can be used to identify performance bugs in real-world systems.
Date issued
2023-06-06Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence LaboratoryJournal
Proceedings of the ACM on Programming Languages
Publisher
ACM
Citation
Zhang, Tony Nuda, Sharma, Upamanyu and Kapritsos, Manos. 2023. "Performal: Formal Verification of Latency Properties for Distributed Systems." Proceedings of the ACM on Programming Languages, 7 (PLDI).
Version: Final published version
ISSN
2475-1421
Collections
The following license files are associated with this item: