Decentralized deadlock-free enforcement of message orderings in message-based systems

被引:0
|
作者
Samadi, Mahboubeh [1 ]
Ghassemi, Fatemeh [1 ]
Khosravi, Ramtin [1 ]
机构
[1] Univ Tehran, Tehran, Iran
关键词
Asynchronous message passing; Decentralized; Deadlock; Runtime enforcement; Message ordering; RUNTIME ENFORCEMENT; ALGORITHM;
D O I
10.1016/j.jcss.2024.103544
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Message-based systems usually consist of distributed components that communicate using asynchronous message passing. In such systems, particular message orderings may violate some required properties. Given an automata-based specification of unwanted message sequences, we propose a decentralized deadlock-free runtime enforcement algorithm to prevent the formation of such sequences. In our approach, components are equipped with monitors executed concurrently. A component is only blocked before sending or receiving the last message of a sequence, until its associated monitor checks that such a message does not complete an unwanted sequence. According to the specification of unwanted sequences, some blocked components may suffer from a deadlock. Our deadlockfree algorithm guarantees that monitors detect and resolve such deadlocks by improving the existing deadlock detection algorithms. We evaluate the efficiency and scalability of our approach in terms of the communication overhead, the prevention latency, and the overhead of deadlock detection through simulation. (c) 2024 Elsevier Inc. All rights reserved.
引用
收藏
页数:27
相关论文
共 27 条