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.
More from Infra
- Samsung SDS shares plunge 15.7% in a single day — GaryMarcus · 2026-11-23
- Inkling 2 mini runs fully local on M3 Max via Ollama, beats Llama 3 8B — kdexd · 2026-11-23
- Samsung data center arm plunges 15% as Wall Street AI selloff spreads to Asia — GaryMarcus · 2026-11-23
- South Korea Vows to Stabilise Stock Market After KOSPI Drops 5% — GaryMarcus · 2026-11-23
- KOSPI Down 4.3%, Taiwan Down 6.2% as Memory Stocks Slide; Taiwan Bans Short Selling — GaryMarcus · 2026-11-23
- Pascal cards' INT8 DP4A could yield up to 4x theoretical speedup over FP32 for local AI — Endlesswoodtrail · 2026-11-23