
How Linux Kernel Lockless Data Structures Boost Performance
In this episode, Lucas and Luna explore lockless data structures in the Linux kernel — specifically read-copy-update (RCU) and lock-free queues — and how they eliminate contention in multi-core systems. They walk through a concrete example: how a major CDN provider replaced a spinlock-protected hash table with an RCU-based design, cutting p99 latency from 12 milliseconds to under 200 microseconds. The episode also covers when NOT to use lockless techniques, the memory-ordering pitfalls that trip up developers, and why kernel maintainers are increasingly adopting these patterns for io_uring and networking stacks. A practical deep dive for systems programmers and performance engineers.
#Linux #Kernel #LocklessDataStructures #RCU #LockFreeQueues #Performance #MultiCore #Concurrency #CDN #MemoryOrdering #io_uring #NetworkingStack #SystemsProgramming #OpenSource #Technology #FexingoBusiness #BusinessPodcast #LinuxPodcast
Keep every episode free: buymeacoffee.com/fexingo
Information
- Show
- FrequencyUpdated Daily
- PublishedJuly 22, 2026 at 10:34 PM UTC
- Length12 min
- Season3
- Episode126
- RatingClean