MPMC Queue icon
Infra

MPMC Queue

Systems-level Rust artifact demonstrating concurrency and performance fundamentals beyond blockchain-specific code.

72.3M ops/sec · 13 tests · 0 unsafe
RustConcurrency

Overview

This project implements a bounded MPMC queue with both blocking and non-blocking modes using safe Rust concurrency primitives.

Problem

Concurrency-heavy components require strong correctness guarantees under pressure, especially when avoiding unsafe shortcuts.

Solution

I built a high-throughput queue around Mutex and Condvar coordination, then benchmarked and tested it thoroughly.