Software · Systems · [TODO year]
Low-latency benchmark suite
A C++ benchmark suite comparing a mutex queue baseline with a lock-free SPSC ring buffer, with contention benchmarks and a false-sharing and cache-line layout study, profiled with perf and flamegraphs.

- C++
- Atomics
- perf
Problem
[TODO]
Approach
A mutex-protected queue serves as the baseline against a lock-free single-producer / single-consumer ring buffer.
Contention benchmarks, plus a false-sharing and cache-line layout study, profiled with perf and flamegraphs.
Results
- Mutex queue baseline
- [TODO]
- Lock-free SPSC ring
- [TODO]
- Speed-up
- [TODO]
[TODO: headline numbers and what the profiling showed]
What I’d do next
- [TODO]