Formalization and Verification of the Message Delivery Mechanism of Apache Pulsar

  • Wenbin Wu
  • , Zhiru Hou
  • , Huibiao Zhu*
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publicationProceedings - SEKE 2024
Subtitle of host publication36th International Conference on Software Engineering and Knowledge Engineering
PublisherKnowledge Systems Institute Graduate School
Pages317-322
Number of pages6
ISBN (Electronic)1891706594
DOIs
StatePublished - 2024
Event36th International Conference on Software Engineering and Knowledge Engineering, SEKE 2024 - Hybrid, San Francisco, United States
Duration: 26 Oct 20244 Nov 2024

Publication series

NameProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
ISSN (Print)2325-9000
ISSN (Electronic)2325-9086

Conference

Conference36th International Conference on Software Engineering and Knowledge Engineering, SEKE 2024
Country/TerritoryUnited States
CityHybrid, San Francisco
Period26/10/244/11/24

Keywords

  • Message Delivery Mechanism
  • Modeling
  • Process Algebra CSP
  • Pulsar
  • Verification

Fingerprint

Dive into the research topics of 'Formalization and Verification of the Message Delivery Mechanism of Apache Pulsar'. Together they form a unique fingerprint.

Cite this