BALLAST: Bandit-Assisted Learning for Latency-Aware Stable Timeouts in Raft
Not on the map. Why?
Abstract (arXiv)
Randomized election timeouts are a simple and effective liveness heuristic for Raft, but they become brittle under long-tail latency, jitter, and partition recovery, where repeated split votes can inflate unavailability. This paper presents BALLAST, a lightweight online adaptation mechanism that replaces static timeout heuristics with contextual bandits. BALLAST selects from a discrete set of timeout "arms" using efficient linear contextual bandits (LinUCB variants), and augments learning with safe exploration to cap risk during unstable periods. We evaluate BALLAST on a reproducible discrete-event simulation with long-tail delay, loss, correlated bursts, node heterogeneity, and partition/recovery turbulence. Across challenging WAN regimes, BALLAST substantially reduces recovery time and unwritable time compared to standard randomized timeouts and common heuristics, while remaining competitive on stable LAN/WAN settings.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 26 references that are in the map. First posted on arXiv 24 Dec 2025.
Builds on
11 of 26 references.
References · 11
- 2019A New Algorithm for Non-stationary Contextual Bandits: Efficient, Optimal, and Parameter-freecited by 71
- 2016Conservative Contextual Linear Banditscited by 56
- 2016Distributed Clustering of Linear Bandits in Peer to Peer Networkscited by 50
- 2017A Change-Detection based Framework for Piecewise-stationary Multi-Armed Bandit Problemcited by 48
- 2020Safe Exploration for Optimizing Contextual Banditscited by 14
- 2022Distributed Contextual Linear Bandits with Minimax Optimal Communication Costcited by 13
- 2018Performance Analysis of the Raft Consensus Algorithm for Private Blockchainscited by 5
- 2017WPaxos: Wide Area Network Flexible Consensuscited by 1
- 2024BFTBrain: Adaptive BFT Consensus with Reinforcement Learningcited by 1
- 2025From Theory to Practice with RAVEN-UCB: Addressing Non-Stationarity in Multi-Armed Bandits through Variance Adaptationcited by 1
- 2025Dynamic Tuning of Election Parameters for Timely Leader Failover in State Machine Replicationcited by 1
Built on by
Not cited yet.