arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.05300cs.DCcs.SE
收藏

分布式系统的图形交互编程器

A Graphical Interactive Debugger for Distributed Systems

Doug Woos, Zachary Tatlock, Michael D. Ernst, Thomas E. Anderson

摘要:

设计和调试分布式系统是出了名的困难。分布式系统的正确性很大程度上取决于其对故障场景的处理。导致bug的事件序列可能很长很复杂,并且可能包括消息重新排序和失败。在单节点系统上,交互式调试器支持单步执行程序,但它们缺乏轻松模拟故障场景和控制消息传递顺序的能力。Oddity是一个用于分布式系统的图形化交互式调试器。它将传统的逐步调试的力量-细粒度的控制和程序执行时的观察-带到了分布式系统中。它还支持探索性测试,在这种测试中,工程师检查和干扰系统的行为,以便更好地理解它,也许没有特定的bug。程序员可以直接控制消息和故障交织。Oddity支持时间旅行,允许开发人员在单个调试会话中探索系统的多个分支执行。最重要的是,Oddity鼓励分布式系统思考:分布式系统应该围绕消息丢失和节点故障的确定性进行开发,而不是假设正常情况并将故障处理作为事后的想法。研究生和本科生在两个分布式系统课程中使用Oddity。使用跟踪和定性调查表明,学生发现Oddity对调试和探索性测试都很有用。

英文摘要:

Designing and debugging distributed systems is notoriously difficult. The correctness of a distributed system is largely determined by its handling of failure scenarios. The sequence of events leading to a bug can be long and complex, and it is likely to include message reorderings and failures. On single-node systems, interactive debuggers enable stepping through an execution of the program, but they lack the ability to easily simulate failure scenarios and control the order in which messages are delivered. Oddity is a graphical, interactive debugger for distributed systems. It brings the power of traditional step-through debugging---fine-grained control and observation of a program as it executes---to distributed systems. It also enables exploratory testing, in which an engineer examines and perturbs the behavior of a system in order to better understand it, perhaps without a specific bug in mind. A programmer can directly control message and failure interleaving. Oddity supports time travel, allowing a developer to explore multiple branching executions of a system within a single debugging session. Above all, Oddity encourages distributed systems thinking: rather than assuming the normal case and attaching failure handling as an afterthought, distributed systems should be developed around the certainty of message loss and node failure. Graduate and undergraduate students used Oddity in two distributed systems classes. Usage tracking and qualitative surveys showed that students found Oddity useful for both debugging and exploratory testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑