Girls Just Wanna Have Fast MPMC Queues with bounded waiting

A design write-up of a bounded multi-producer multi-consumer queue in Rust, with benchmarks.

Author
Nahla
Published
10 July 2026
Kind
Personal blog post with a Rust design and throughput benchmarks
Original
nahla.dev/blog/waitfree_queue/
Subject
Systems and hardware
Themes
Close to the machine

What it is

Nahla built a queue to test their intuition about lock-free programming. The author claims no breakthrough and asks experts for feedback.

What it says

What evidence it gives

The post gives throughput tables from a Criterion benchmark on one Ryzen 7 7800x3D machine. Each run moves 2^24 items. Source code and unit tests are in a linked repo. Results for other queues are not printed in the post.

Interests and limits

The author has no stated commercial interest. The post says an earlier version wrongly called the queue wait-free. The tests are synthetic and run on a single machine. Comparisons with other queues are not shown, and the author did not examine their internals. The post names a rare undefined behaviour risk at huge item counts. The waiting bound holds only while producers and consumers both keep running.

Connections

These links are this wiki's own reading, not claims the sources make.