ComingUp ComingUp
The "Stop-the-World" Problem: How I Rebuilt My Database's Core to Kill 200ms Lat

The "Stop-the-World" Problem: How I Rebuilt My Database's Core to Kill 200ms Lat

Apr 1, 2026 Developer Tools
c++ database hashing redis storage

Gallery

The "Stop-the-World" Problem: How I Rebuilt My Database's Core to Kill 200ms Lat

About

Aphelo is a Redis-like store written in C++ that implements progressive rehashing to minimize downtime during data migrations. It is designed to reduce the "stop-the-world" problem often encountered in traditional hash table implementations. Aphelo provides a high-performance storage solution with minimal disruption to ongoing operations.

Comments (2)

Maida Lakin Maida Lakin 3 months ago

where are the latency benchmarks though

Sierra Parisian Sierra Parisian 3 months ago

does the progressive rehashing run on a background thread?