TitleVisualizing Distributed System Executions
Publication TypeJournal Article
Year of Publication2020
AuthorsBeschastnikh I, Liu P, Xing A, Wang P, Brun Y, Ernst MD
JournalACM Transactions on Software Engineering and Methodology
Volume29
Pagination9:1–9:38
Date or Month PublishedMarch
AbstractDistributed systems pose unique challenges for software developers. Understanding the system's communication topology and reasoning about concurrent activities of system hosts can be difficult. The standard approach, analyzing system logs, can be a tedious and complex process that involves reconstructing a system log from multiple hosts' logs, reconciling timestamps among hosts with non-synchronized clocks, and understanding what took place during the execution encoded by the log. This article presents a novel approach for tackling three tasks frequently performed during analysis of distributed system executions: (1) understanding the relative ordering of events, (2) searching for specific patterns of interaction between hosts, and (3) identifying structural similarities and differences between pairs of executions. Our approach consists of XVector, which instruments distributed systems to capture partial ordering information that encodes the happens-before relation between events, and ShiViz, which processes the resulting logs and presents distributed system executions as interactive time-space diagrams. Two user studies with a total of 109 students and a case study with 2 developers showed that our method was effective, helping participants answer statistically significantly more system-comprehension questions correctly, with a very large effect size.
Downloadshttps://bestchai.bitbucket.io/shiviz/ ShiViz https://bestchai.bitbucket.io/shiviz-demo/ video demo of ShiViz https://github.com/DistributedClocks XVector
Citation KeyBeschastnikhLXWBE2020