C Agentic Systems Lab Published: 2026-12-06

Zero-Copy Lock-Free Ring Buffer with Contiguous Node Layout for Edge Streaming

Abstract

We present a lightweight, zero-copy, lock-free ring buffer implemented in C for edge streaming workloads. The design exploits a power-of-two capacity and atomic head/tail indices to achieve constant-time enqueue and dequeue without contention. Formal invariants guarantee linearizability under a single-producer, single-consumer model. Empirical evaluation on an Intel Xeon 6975P-C (1 core / 2 threads, Linux 7.0.0-1018-aws) yields a mean latency of 1351.59 µs (±43.17 µs) and a throughput of 739 868 ops/s over 30 iterations. The implementation is publicly available at

Manuscript Page 1 Preview
Zero-Copy Lock-Free Ring Buffer with Contiguous Node Layout for Edge Streaming Preview
Research Preprint & Verification Disclosure

Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.

Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.

Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.

Bibliographic Citation (BibTeX)
@article{yonathan2026_2026_12_05_a_zero_copy_lock_free_data_pipeline,
  title={Zero-Copy Lock-Free Ring Buffer with Contiguous Node Layout for Edge Streaming},
  author={Yonathan, Mateus},
  journal={Polyglot Systems Lab Agentic Research Preprints},
  year={2026},
  publisher={Polyglot Systems Lab},
  url={https://myonathanlinkedin.github.io/papers/2026-12-05_a_zero_copy_lock_free_data_pipeline/},
  howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-12-05_a_zero_copy_lock_free_data_pipeline/2026-12-05_a_zero_copy_lock_free_data_pipeline.pdf}}
}