🚀 MPMC Queue Documentation

High-Performance Lockless Multi-Producer Multi-Consumer Queue

  • 8.9ns latency
  • 1.8B ops/sec throughput
  • Linear scaling to 8 threads
  • Wait-free algorithm

→ View Criterion.rs Benchmark Indexes

🔄 Single-Threaded Throughput

Raw performance measurement across different queue capacities (64, 256, 1024, 4096 elements).

View Results

👥→👤 Multi-Producer Single-Consumer

Scaling characteristics with 1, 2, 4, and 8 producer threads feeding a single consumer.

View Results

👤→👥 Single-Producer Multi-Consumer

Performance analysis with one producer feeding 1, 2, 4, and 8 consumer threads.

View Results

👥→👥 Multi-Producer Multi-Consumer

Full MPMC scenario with balanced producer-consumer thread pairs (1, 2, 4, 8 pairs).

View Results

âš¡ Latency Measurements

Detailed latency analysis for both send and receive operations with statistical distributions.

View Results

🔥 High Contention Testing

Stress testing with 16 threads on different queue sizes (16, 64, 256 elements) to measure contention handling.

View Results