There's still plenty of juice in single-threaded lock-free architectures, argues engineer

arpit_bhayani · x · 2026-11-23

Arpit Bhayani argues that in multi-threaded systems the real cost is coordination — cache-line bouncing, CAS retries, lock-induced context switches and tail latency — not the work itself. Single-threaded, thread-per-core designs (the Redis model) eliminate locks and atomics on the hot path and keep data hot in one core's cache. Gains come from batching, cache-friendly layouts, pre-allocated memory and fewer syscalls; trade-offs are blocking slow ops and hot-shard scaling limits. He believes reimagining complex systems as single-threaded could yield major simplicity and performance wins.

Original post →

More from Infra

Infra channel →