论文标题

用隔离化缩放复制的状态机[技术报告]

Scaling Replicated State Machines with Compartmentalization [Technical Report]

论文作者

Whittaker, Michael, Ailijiang, Ailidani, Charapko, Aleksey, Demirbas, Murat, Giridharan, Neil, Hellerstein, Joseph M., Howard, Heidi, Stoica, Ion, Szekeres, Adriana

论文摘要

状态机器复制协议(如Multipaxos和Raft)是许多分布式系统和数据库的关键组成部分。但是,由于几个瓶颈组件,这些协议提供的吞吐量相对较低。许多现有协议隔离固定不同的瓶颈,但没有完整的解决方案。当您修复一个瓶颈时,会出现另一个。在本文中,我们介绍了隔室化,这是消除状态机器复制瓶颈的第一种综合技术。隔室化涉及将单个瓶颈分解为不同的组成部分,并独立缩放这些组件。隔间化具有两个关键优势。首先,隔室化导致强大的性能。在本文中,我们演示了如何在仅写作工作负载上将多X骨划分以将其吞吐量增加6倍,而在混合读写工作负载上将其吞吐量增加了16倍。与其他方法不同,我们在不需要专业硬件的情况下实现了这种性能。其次,隔离是一种技术,而不是协议。行业从业人员可以逐步将分区化应用于其协议,而无需采用全新的协议。

State machine replication protocols, like MultiPaxos and Raft, are a critical component of many distributed systems and databases. However, these protocols offer relatively low throughput due to several bottlenecked components. Numerous existing protocols fix different bottlenecks in isolation but fall short of a complete solution. When you fix one bottleneck, another arises. In this paper, we introduce compartmentalization, the first comprehensive technique to eliminate state machine replication bottlenecks. Compartmentalization involves decoupling individual bottlenecks into distinct components and scaling these components independently. Compartmentalization has two key strengths. First, compartmentalization leads to strong performance. In this paper, we demonstrate how to compartmentalize MultiPaxos to increase its throughput by 6x on a write-only workload and 16x on a mixed read-write workload. Unlike other approaches, we achieve this performance without the need for specialized hardware. Second, compartmentalization is a technique, not a protocol. Industry practitioners can apply compartmentalization to their protocols incrementally without having to adopt a completely new protocol.

扫码加入交流群

加入微信交流群

微信交流群二维码

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