English

BlockFIFO & MultiFIFO: Scalable Relaxed Queues

Data Structures and Algorithms 2025-10-17 v2

Abstract

FIFO queues are a fundamental data structure used in a wide range of applications. Concurrent FIFO queues allow multiple execution threads to access the queue simultaneously. Maintaining strict FIFO semantics in concurrent queues leads to low throughput due to high contention at the head and tail of the queue. By relaxing the FIFO semantics to allow some reordering of elements, it becomes possible to achieve much higher scalability. This work presents two orthogonal designs for relaxed concurrent FIFO queues, one derived from the MultiQueue and the other based on ring buffers. We evaluate both designs extensively on various micro-benchmarks and a breadth-first search application on large graphs. Both designs outperform state-of-the-art relaxed and strict FIFO queues, achieving higher throughput and better scalability.

Keywords

Cite

@article{arxiv.2507.22764,
  title  = {BlockFIFO & MultiFIFO: Scalable Relaxed Queues},
  author = {Stefan Koch and Peter Sanders and Marvin Williams},
  journal= {arXiv preprint arXiv:2507.22764},
  year   = {2025}
}

Comments

22 pages, full version of paper to appear at ALENEX'26

R2 v1 2026-07-01T04:26:14.453Z