Catch up by key.

Two readers share one stream. Each receives the latest value or deletion for every key written since its own cursor.

Source & quickstart ↗ Benchmark results Download v0.1.0 (ZIP)
Write pattern

Producer stream

    Key IDs · × marks deletion

    Tables preview the exact rows each reader can consume, ordered by last write. Skipped writes were superseded for that reader. This JavaScript illustration shows delivery semantics. Timing benchmarks run against the C++17 index.

    What happens with 4,096 readers?

    On a single thread with a million populated keys, p99 catch-up took 1.67 µs for Afterkey and 4.99 µs for a cursor log when writes moved among hot keys. With uniform writes, the log won at 75.92 µs against Afterkey’s 417.86 µs. Each measurement includes delivery to the in-process callback.