rigtorp/MPMCQueue
A bounded multi-producer multi-consumer concurrent queue written in C++11 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3810
- days_rel: n/a
- days_push: 908
- n_releases_24m: 0
Adoption not part of the score
1563 stars · 204 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A bounded multi-producer multi-consumer concurrent queue implemented as a single C++11 header. It is battle-tested in production, including the Frostbite game engine and low-latency trading infrastructure.
Use cases
- pass messages between multiple producer and consumer threads
- build a low-latency trading system with a fast concurrent queue
- share work items across a thread pool in C++
- replace std::queue with a thread-safe bounded queue
- implement producer-consumer pipelines in game engine code
When to choose
- you need a bounded MPMC queue in C++11 or later with minimal dependencies
- you want a header-only, production-proven concurrent queue
- low-latency or high-throughput inter-thread communication matters
When to avoid
- you need an unbounded queue
- you need a single-producer single-consumer queue where a simpler SPSC queue suffices
- you are not programming in C++
Facets
library · maturity stable
concurrency developer-tools performance cpp cross-platform header-only mpmc-queue lock-free cpp11 low-latency algorithms
1 source
- readme: https://github.com/rigtorp/MPMCQueue · fetched 2026-08-28 · 138bf6b8ba85
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rigtorp/MPMCQueue | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="rigtorp/MPMCQueue")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem