arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.13019cs.DC
收藏

基于流的状态机复制

Stream-based State-Machine Replication

Laura Lawniczak, Tobias Distler

摘要:

开发用于实际使用的状态机复制协议是一个复杂且劳动密集型的过程,因为有无数的基本任务(例如,部署、通信、恢复),这些都需要在实现中加以考虑。在本文中,我们将展示如何解决这个问题,基于流的复制,一种新的方法,实现了一个复制协议作为应用程序的数据流处理框架的顶部。由于这样的框架已经处理了最基本的任务,并且还提供了调试和监控的手段,这种技术的主要好处是大大减少了程序员和系统操作员的开销。我们的第一个基于流的协议Tara容忍崩溃,并包括用于请求处理、检查点和视图更改的成熟机制。尽管如此,Tara的原型实现基于Twitter的Heron框架,由不到1,500行应用程序级代码组成。

英文摘要:

Developing state-machine replication protocols for practical use is a complex and labor-intensive process because of the myriad of essential tasks (e.g., deployment, communication, recovery) that need to be taken into account in an implementation. In this paper, we show how this problem can be addressed with stream-based replication, a novel approach that implements a replication protocol as application on top of a data-stream processing framework. With such framework already handling most essential tasks and furthermore providing means for debugging and monitoring, this technique has the key benefit of significantly minimizing overhead for both programmers as well as system operators. Our first stream-based protocol Tara tolerates crashes and comprises full-fledged mechanisms for request handling, checkpointing, and view changes. Still, Tara's prototype implementation, which is based on Twitter's Heron framework, consists of fewer than 1,500 lines of application-level code.

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

↑