Skip to content

How Much Can RocksDB Chew? Achieving Near-Zero Write Stalls with Sustainable RocksDB

Jul 2026 · Proceedings of the VLDB Endowment · Vol 19, pp. 3202-3215 · 0 citations · 63 references

TL;DR

S-RocksDB is a sustainable admission controller that regulates foreground ingress to match the system's time-varying compaction capacity, which varies at runtime, since this capacity varies at runtime, and employs online reinforcement learning to discover a sustainable admission rate.

Abstract

Modern data-intensive applications, from microservices to realtime AI serving, demand consistently low tail latency from backend storage. However, log-structured merge-tree-based key-value stores like RocksDB are structurally prone to unpredictable write stalls. These stalls stem from a fundamental architectural decoupling of foreground write ingress and background data reorganization. By design, the system absorbs foreground writes at maximum speed without monitoring its actual time-varying compaction capacity. As a result, it accumulates internal pressure until rigid capacity thresholds are breached, triggering reactive safeguards that abruptly freeze all foreground writes. Relying on this reactive "stop-and-go" approach induces a persistent limit-cycle behavior, undermining long-run predictability and strict latency guarantees. We reframe write stalls as a continuous control problem. S-RocksDB is a sustainable admission controller that regulates foreground ingress to match the system's time-varying compaction capacity. Since this capacity varies at runtime, S-RocksDB employs online reinforcement learning to discover a sustainable admission rate. To ensure safe learning, a three-state operational model (SAFE, SEMI-SAFE, UNSAFE) confines exploration to stable conditions and deploys deterministic guardrails before stalls can occur. In 24-hour evaluations, S-RocksDB reduces over 64.3M stalled writes to just 69, bounds P99.99 tail latency to sub-0.11 ms, and delivers predictable throughput with the lowest resource footprint among all compared systems.

View source

Similar papers

Preprint Sep 2026

DiaLSM: Towards Write-Stall-Free Performance via Shard-based LSM-tree

Log-Structured Merge-tree (LSM) aims to achieve high write throughput, but is known to experience the write stall problems when subjected to sustained write pressure. We quantify the occurrence probability and average duration of write stalls in LSM using a queuing model in the write--flush--compaction pipeline, moving...

Hongsu Byun, Safdar Jamil, Honghyeon Yoo et al. · 0 citations
Book Open access Sep 2026

CmptQuiet: Optimizing Tail Latency and Throughput in LSM-Tree Key-Value Stores via Contention-Aware Compaction

Log-Structured Merge-Tree (LSM-tree) based Key-Value stores are foundational to data center storage but suffer from high tail latency due to a fundamental read-write trade-off and disruptive compaction. This paper introduces CmptQuiet, a system that breaks this trade-off to deliver low tail latency without sacrificing...

Jiu-Fei Liu, Kai-Yuan Xu, Shu Yin · 0 citations
Review Aug 2026

Concurrency Response of Plain Global Loads on the NVIDIA H100

The main result concerns the plain-load path: attained LDG bandwidth peaks at a small offered per-thread load (K ~ 2) and then declines, by about 35% from K=2 to K=8 at the authors' primary configuration.

S. Manjunath, Rahul Ramachandra · 0 citations
Preprint Sep 2026

ZOCheck: CPU-Shadow Checkpointing for Zeroth-Order LLM Fine-Tuning

Zeroth-order (ZO) optimization is an attractive option for memory-efficient LLM fine-tuning, but its fault tolerance remains underexplored. Unlike first-order training, ZO progress can be represented by lightweight seed-and-scalar step logs, yet naive log-only recovery still incurs replay cost that grows with training...

Min-Qiu Sun, Xin Huang, Luan-Zheng Guo et al. · 0 citations
Book Open access Sep 2026

Breaking the Single-Entry Bottleneck: Dynamic Write Routing for Heterogeneous Key-Value Stores

DuetKV is presented, a heterogeneous key-value store that treats NVM and SSD as peer foreground write engines and selects a destination for each request, and achieves up to 3.4 × the throughput of the strongest baseline on write-heavy workloads, while remaining competitive on read-heavy workloads.

Rui-Song Zhou, Liang Bao, Hai-Jun Zhang et al. · 0 citations
Preprint Sep 2026

Fast Recovery for LLM Serving via Decoupled Device Memory Lifetime in Dynamo

This work argues that the dominant cost is loss of ready serving capacity, not request progress, so recovery should preserve initialized engine state rather than reconstruct it, and presents fast recovery for Dynamo based on this principle.

Schwinn Saereesitthipitak, Mohammed H. Abdulwahhab, Hannah Zhang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.