We present a lock-free implementation of a redox ring buffer in Python, designed to support high-throughput concurrent producers and consumers while preserving strict sequential consistency. The buffer exposes constant-time push and pop operations and maintains a bounded capacity invariant. We formally prove that the buffer's state machine preserves the invariant 0 ≤ count ≤ capacity under any interleaving of push and pop operations. Empirical evaluation in our research evaluation environment,.78 µs, a P95 latency of 85 725.67 µs, and a throughput of 11 804 ops/s over 30 benchmark iterations. These results demonstrate that the design achieves predictable latency while maintaining correctness guarantees.
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.
@article{yonathan2026_2026_10_29_redox_ring_buffers_project_summary,
title={Linearizable State Transitions and Queue Invariants in Redox Ring Buffers Project Summary (Python)},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-10-29_redox_ring_buffers_project_summary/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-10-29_redox_ring_buffers_project_summary/2026-10-29_redox_ring_buffers_project_summary.pdf}}
}