Software Model Checking Distributed Applications: A Hybrid Approach

Authors

  • Hing Ratana School of Computer Sciences, Universiti Sains Malaysia, 11800 Gelugor, Penang, Malaysia
  • Sharifah Mashita Syed-Mohamad Faculty of Ocean Engineering Technology and Informatics, Universiti Malaysia Terengganu, 21030 Kuala Nerus, Terengganu, Malaysia
  • Chan Huah Yong School of Computer Sciences, Universiti Sains Malaysia, 11800 Gelugor, Penang, Malaysia

Keywords:

Software model checking, distributed system, Java PathFinder (JPF), Interprocess communication (IPC), backtracking, state-space explosion

Abstract

Developing reliable distributed systems poses many challenges such as concurrency, failure handling, and scalability. It is due to the non-deterministic execution of threads within processes, and communication means. Formal verification methods, such as model checking, have been used to ensure the reliability of safety-critical systems. This technique systematically explores the complete behavior of the system under test (SUT), investigating each reachable state with different thread schedules. Recent software model-checking tools, employing cache and centralization, have been applied to distributed systems. The caching technique can only check one process at a time, while the centralization technique verifies all processes simultaneously. In the centralization technique, two "ArrayByteQueue" buffers are utilized to store communication and process data byte-by-byte. However, during the backtracking process, the read and write operations, involving data insertion and removal from the queue, become resource-intensive. As a consequence, existing interprocess communication (IPC) models encounter computational limitations and experience a rapid state space explosion. To address these challenges, our work proposes the remodeling of IPC models by introducing a request and response tree structure to store communication data. Additionally, we employ pointers to navigate through the data during the backtracking process. Through experimental evaluations, the proposed implementation choices have demonstrated significantly improved performance across various metrics. By incorporating the request and response tree, we enhance the efficiency of storing communication data, while the use of pointers optimizes navigation during backtracking. This remodeling of IPC models shows promise in mitigating computational limitations and state space explosion, thereby enhancing the model-checking process in distributed systems. Our research contributes to advancing the field of model checking in distributed systems and offers potential solutions to the challenges associated with resource-intensive read and write operations during the model-checking process.

Author Biographies

Hing Ratana, School of Computer Sciences, Universiti Sains Malaysia, 11800 Gelugor, Penang, Malaysia

ratanahing@gmail.com; ratanahing@student.usm.my

Sharifah Mashita Syed-Mohamad, Faculty of Ocean Engineering Technology and Informatics, Universiti Malaysia Terengganu, 21030 Kuala Nerus, Terengganu, Malaysia

s.mashita@umt.edu.my

Chan Huah Yong, School of Computer Sciences, Universiti Sains Malaysia, 11800 Gelugor, Penang, Malaysia

hychan@usm.my

Downloads

Published

2024-04-14

How to Cite

Hing Ratana, Sharifah Mashita Syed-Mohamad, & Chan Huah Yong. (2024). Software Model Checking Distributed Applications: A Hybrid Approach. Journal of Advanced Research in Applied Sciences and Engineering Technology. Retrieved from https://semarakilmu.com.my/journals/index.php/applied_sciences_eng_tech/article/view/2867

Issue

Section

Articles