Crossword: Adaptive Consensus for Dynamic Data-Heavy Workloads

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hu, Guanzhou, Chen, Yiwei, Arpaci-Dusseau, Andrea, Arpaci-Dusseau, Remzi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912576981434368
author Hu, Guanzhou
Chen, Yiwei
Arpaci-Dusseau, Andrea
Arpaci-Dusseau, Remzi
author_facet Hu, Guanzhou
Chen, Yiwei
Arpaci-Dusseau, Andrea
Arpaci-Dusseau, Remzi
contents We present Crossword, a flexible consensus protocol for dynamic data-heavy workloads, a rising challenge in the cloud where replication payload sizes span a wide spectrum and introduce sporadic bandwidth stress. Crossword applies per-instance erasure coding and distributes coded shards intelligently to reduce critical-path data transfer significantly when desirable. Unlike previous approaches that statically assign shards to servers, Crossword enables an adaptive tradeoff between the assignment of shards and quorum size in reaction to dynamic workloads and network conditions, while always retaining the availability guarantee of classic protocols. Crossword handles leader failover gracefully by employing a lazy follower gossiping mechanism that incurs minimal impact on critical-path performance. We implement Crossword (along with relevant protocols) in Gazette, a distributed, replicated, and protocol-generic key-value store written in async Rust. We evaluate Crossword comprehensively to show that it matches the best performance among previous protocols (MultiPaxos, Raft, RSPaxos, and CRaft) in static scenarios, and outperforms them by up to 2.3x under dynamic workloads and network conditions. Our integration of Crossword with CockroachDB brings 1.32x higher aggregate throughput to TPC-C under 5-way replication. We will open-source Gazette upon publication.
format Preprint
id arxiv_https___arxiv_org_abs_2509_07157
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Crossword: Adaptive Consensus for Dynamic Data-Heavy Workloads
Hu, Guanzhou
Chen, Yiwei
Arpaci-Dusseau, Andrea
Arpaci-Dusseau, Remzi
Distributed, Parallel, and Cluster Computing
We present Crossword, a flexible consensus protocol for dynamic data-heavy workloads, a rising challenge in the cloud where replication payload sizes span a wide spectrum and introduce sporadic bandwidth stress. Crossword applies per-instance erasure coding and distributes coded shards intelligently to reduce critical-path data transfer significantly when desirable. Unlike previous approaches that statically assign shards to servers, Crossword enables an adaptive tradeoff between the assignment of shards and quorum size in reaction to dynamic workloads and network conditions, while always retaining the availability guarantee of classic protocols. Crossword handles leader failover gracefully by employing a lazy follower gossiping mechanism that incurs minimal impact on critical-path performance. We implement Crossword (along with relevant protocols) in Gazette, a distributed, replicated, and protocol-generic key-value store written in async Rust. We evaluate Crossword comprehensively to show that it matches the best performance among previous protocols (MultiPaxos, Raft, RSPaxos, and CRaft) in static scenarios, and outperforms them by up to 2.3x under dynamic workloads and network conditions. Our integration of Crossword with CockroachDB brings 1.32x higher aggregate throughput to TPC-C under 5-way replication. We will open-source Gazette upon publication.
title Crossword: Adaptive Consensus for Dynamic Data-Heavy Workloads
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2509.07157