TY - GEN
T1 - Formalization and Verification of the Message Delivery Mechanism of Apache Pulsar
AU - Wu, Wenbin
AU - Hou, Zhiru
AU - Zhu, Huibiao
N1 - Publisher Copyright:
© 2024 Knowledge Systems Institute Graduate School. All rights reserved.
PY - 2024
Y1 - 2024
N2 - 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.
AB - 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.
KW - Message Delivery Mechanism
KW - Modeling
KW - Process Algebra CSP
KW - Pulsar
KW - Verification
UR - https://www.scopus.com/pages/publications/85218623510
U2 - 10.18293/SEKE2024-149
DO - 10.18293/SEKE2024-149
M3 - 会议稿件
AN - SCOPUS:85218623510
T3 - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
SP - 317
EP - 322
BT - Proceedings - SEKE 2024
PB - Knowledge Systems Institute Graduate School
T2 - 36th International Conference on Software Engineering and Knowledge Engineering, SEKE 2024
Y2 - 26 October 2024 through 4 November 2024
ER -