Exploiting Virtual Memory for Fast IPC
summary
Describes building a fast interprocess communication channel by using virtual memory and shared memory instead of traditional IPC like sockets. Explains how to implement a high-performance cross-process queue using basic Linux primitives and highlights general design ideas from that implementation that can apply to other use cases.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:06Traditional IPC slowness
- 4:22Shared memory ring buffer
- 8:40Synchronizing with futex
- 13:20Optimizing futex
- 14:46Zero-call waiting
- 15:06Cache line contention
- 17:55Benchmark results
- 23:24Consistent low latency
- 23:47Async system integration
- 28:56Trading platform use case
- 31:07Further reading
- 32:30Q&A
