Formalization and Verification of the Message Delivery Mechanism of Apache Pulsar
Apache Pulsar is a distributed publish-subscribe messaging system that employs a compute-storage separation architecture, which is well-suited for cloud-native environments.Message delivery mechanism is the core function in Pulsar, mainly for transferring data between different objects.The reliability of the message delivery mechanism of Pulsar raises extensive concerns for better application.In this paper, we use process algebra CSP to model the components of Pulsar.By implementing the model using model checker PAT, we mathematically examine the message delivery mechanism of Pulsar.We verify six properties: deadlock freedom, divergence freedom, data consistency, sequentiality, reliability and persistent storage.The verification results indicate that Pulsar satisfies all these properties, demonstrating that it has good performance and can provide robust message transmission services.
Authors
- Zhiru Hou (ORCID: https://orcid.org/0000-0002-3266-0084)
- WU Wen-bin
- Huibiao Zhu (ORCID: https://orcid.org/0000-0002-0214-8565)
Institutions
- Shanghai Key Laboratory of Trustworthy Computing (CN)
Publication Details
- Journal
- Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
- Published
- 2024-10-28
- DOI
- https://doi.org/10.18293/seke2024-149
- Primary Topic
- Spacecraft and Cryogenic Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- National Key Research and Development Program of China