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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Formalization and Verification of the Message Delivery Mechanism of Apache Pulsar

Zhiru Hou, WU Wen-bin, Huibiao Zhu
Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
Spacecraft and Cryogenic Technologies
article

Formalization and Verification of the Message Delivery Mechanism of Apache Pulsar

Zhiru Hou, WU Wen-bin, Huibiao Zhu
article en

Abstract

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.

Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge EngineeringVol. 2024
Shanghai Key Laboratory of Trustworthy Computing (CN)
National Natural Science Foundation of China, National Key Research and Development Program of China
Openalex Percentile: Top 58%
Spacecraft and Cryogenic Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.