Discovering Likely Invariants for Distributed Systems Through Runtime Monitoring and Learning

被引:0
|
作者
Xia, Yuan [1 ]
Sur, Deepayan [1 ]
Pingle, Aabha Shailesh [1 ]
Deshmukh, Jyotirmoy V. [1 ]
Raghothaman, Mukund [1 ]
Ravi, Srivatsan [1 ]
机构
[1] Univ Southern Calif, Los Angeles, CA 90007 USA
关键词
D O I
10.1007/978-3-031-82700-6_1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Characterizing the set of reachable states of a distributed protocol that uses asynchronous message-passing communication is difficult due to the exponential number of possible interleavings of local executions. Any syntactic expression overapproximating the set of reachable states is an invariant formula of the system, and is a valuable tool that can aid programmers in understanding global program behavior. In this paper, we propose a method for obtaining a formula that approximates the set of reachable states; we call this formula a likely invariant, and we learn it using information only obtained from system executions. Our method doubles up as a way for identifying states that may not be known to be reachable (based on the best-known likely invariant) and hence may appear anomalous to the system designer. In some cases, they may be actually anomalous and may indicate a lurking (heisenbug). Our method has the following main steps: (1) we observe the global states of the system reached during its execution, (2) we asynchronously learn a likely invariant from the observed global states, (3) we monitor the learned likely invariant for the system states that do not satisfy it, and (4) if such states are found, we revise the likely invariant. We implement our overall methodology for a number of distributed protocols written in the Promela language and show that our technique can learn useful information about the system from just runtime executions.
引用
收藏
页码:3 / 25
页数:23
相关论文
共 50 条
  • [1] Discovering likely invariants of distributed transaction systems for autonomic system management
    Guofei Jiang
    Haifeng Chen
    Kenji Yoshihira
    Cluster Computing, 2006, 9 : 385 - 399
  • [2] Discovering likely invariants of distributed transaction systems for autonomic system management
    Jiang, Guofei
    Chen, Haifeng
    Yoshihira, Kenji
    3RD INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING, PROCEEDINGS, 2005, : 199 - 208
  • [3] Discovering likely invariants of distributed transaction systems for autonomic system management
    Jiang, Guofei
    Chen, Haifeng
    Yoshihira, Kenji
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2006, 9 (04): : 385 - 399
  • [4] Summary of Dynamically discovering likely program invariants
    Ernst, MD
    IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS: SYSTEMS AND SOFTWARE EVOLUTION IN THE ERA OF THE INTERNET, 2001, : 540 - 544
  • [5] FiLM: A Runtime Monitoring Tool for Distributed Systems
    Zhang, Fuyuan
    Qi, Zhengwei
    Guan, Haibing
    Liu, Xuezheng
    Yang, Mao
    Zhang, Zheng
    2009 THIRD IEEE INTERNATIONAL CONFERENCE ON SECURE SOFTWARE INTEGRATION AND RELIABILITY IMPROVEMENT, PROCEEDINGS, 2009, : 40 - 46
  • [6] Efficient and scalable algorithms for inferring likely invariants in distributed systems
    Jiang, Guofei
    Chen, Haifeng
    Yoshihira, Kenji
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2007, 19 (11) : 1508 - 1523
  • [7] Runtime Monitoring of Object Invariants with Guarantee
    Gopinathan, Madhu
    Rajamani, Sriram K.
    RUNTIME VERIFICATION, 2008, 5289 : 158 - +
  • [8] A decentralized approach for discovering runtime software architectural models of distributed software systems
    Porter, Jason
    Menasce, Daniel A.
    Gomaa, Hassan
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 131
  • [9] Dynamically discovering likely program invariants to support program evolution
    Ernst, MD
    Cockrell, J
    Griswold, WG
    Notkin, D
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (02) : 99 - 123
  • [10] Distributed Process Monitoring for Multiagent Systems Through Cognitive Learning
    Chen, Hongtian
    Dogru, Oguzhan
    Varanasi, Santhosh Kumar
    Yin, Xunyuan
    Huang, Biao
    IEEE TRANSACTIONS ON COGNITIVE AND DEVELOPMENTAL SYSTEMS, 2024, 16 (01) : 8 - 19