论文标题

交易使调试变得容易

Transactions Make Debugging Easy

论文作者

Li, Qian, Kraft, Peter, Cafarella, Michael, Demiralp, Çağatay, Graefe, Goetz, Kozyrakis, Christos, Stonebraker, Michael, Suresh, Lalith, Zaharia, Matei

论文摘要

我们提出了TROD,这是一个以交易为导向的新型框架,用于调试现代分布式Web应用程序和在线服务。我们的关键见解是,如果应用程序将所有状态存储在数据库中,并且仅在交易中访问状态,则TROD可以使用轻巧的始终在线跟踪来跟踪应用程序状态的变化和数据出处的历史,然后在过去的任何事件上都忠实地重播捕获的迹线和交易日志,以忠实地重播或什至在任何事件上进行了测试。我们展示了TROD如何在生产应用程序中简化编程和调试,列出了一些研究挑战和方向,并鼓励数据库和系统社区大大重新考虑人们开发和调试应用程序之间的协同作用。

We propose TROD, a novel transaction-oriented framework for debugging modern distributed web applications and online services. Our critical insight is that if applications store all state in databases and only access state transactionally, TROD can use lightweight always-on tracing to track the history of application state changes and data provenance, and then leverage the captured traces and transaction logs to faithfully replay or even test modified code retroactively on any past event. We demonstrate how TROD can simplify programming and debugging in production applications, list several research challenges and directions, and encourage the database and systems communities to drastically rethink the synergy between the way people develop and debug applications.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源