From Conviva · Melissa Pieroni · · 4m
TL;DR: We swapped mmap for io_uring and got 60% slower
A Rust query engine ditched mmap to escape page-cache thrashing, then watched io_uring lose badly to the thing it replaced.
Bypassing the page cache only helps if the rest of your stack stops making the kernel manage memory for you, and a layer doing five jobs at once hides exactly that. A Rust query engine ditched mmap to escape page-cache thrashing, then watched io_uring lose badly to the thing it replaced.
- mmap was the obvious choice
- Trillions of events a day
- The box was not the limit
- Then concurrency hit
Read the story version — the same reporting as a swipeable deck of 20 cards.






