交易让交易变得简单
Transactions Make Debugging Easy
摘要:
我们提出了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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。