Skip to main navigation Skip to search Skip to main content

D2Abs: A Framework for Dynamic Dependence Analysis of Distributed Programs

Research output: Contribution to journalArticlepeer-review

9 Scopus citations

Abstract

As modern software systems are increasingly developed for running in distributed environments, it is crucial to provide fundamental techniques such as dependence analysis for checking, diagnosing, and evolving those systems. However, traditional dependence analysis is either inapplicable or of very limited utility for distributed programs due to the decoupled components of these programs which run in concurrent processes at physically separated machines. Motivated by the need for dependence analysis of distributed software and the diverse cost-effectiveness needs of dependence-based applications, this paper presents D2Abs, a framework of dynamic dependence analysis for distributed programs. By partially ordering distributed method execution events and inferring causality from the ordered events, D2Abs computes method-level dependencies both within and across process boundaries. Further, by exploiting message-passing semantics across processes, and incorporating static dependencies and statement coverage within individual components, D2Abs offers three additional instantiations that trade efficiency for better precision. We present the design of the D2Abs framework and evaluate the four instantiations of D2Abs on distributed systems of various architectures and scales using our implementation for Java. Our empirical results show that D2Abs is significantly more effective than existing options while offering varying levels of cost-effectiveness tradeoffs. As our framework essentially computes whole-system run-time dependencies, it naturally empowers a range of other dependence-based applications.

Original languageEnglish
Pages (from-to)4733-4761
Number of pages29
JournalIEEE Transactions on Software Engineering
Volume48
Issue number12
DOIs
StatePublished - Dec 1 2022

Keywords

  • Distributed system
  • dependence analysis
  • dynamic analysis
  • program analysis

Fingerprint

Dive into the research topics of 'D2Abs: A Framework for Dynamic Dependence Analysis of Distributed Programs'. Together they form a unique fingerprint.

Cite this