---
title: "Discussion on \"A Lock-Free SPSC Ring Buffer in Rust: Memory Ordering Explained\" | Hashnode"
description: "Discussion on \"A Lock-Free SPSC Ring Buffer in Rust: Memory Ordering Explained\". A single-producer, single-consumer (SPSC) queue is the simplest useful lock-free structure. Because exactly one thread writes and exactly one thread reads, you can build it from two atomic counters an"
url: "https://hashnode.com/posts/a-lock-free-spsc-ring-buffer-in-rust-memory-ordering-explained/6abd2ce9016508df89f66482"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Lock-Free SPSC Ring Buffer in Rust: Memory Ordering Explained](https://esimcircle.hashnode.dev/a-lock-free-spsc-ring-buffer-in-rust-memory-ordering-explained?utm_source=hashnode&utm_medium=feed)

A single-producer, single-consumer (SPSC) queue is the simplest useful lock-free structure. Because exactly one thread writes and exactly one thread reads, you can build it from two atomic counters an

Sep 30 · 5 min read · esimcircle.hashnode.dev  
Read the article

## Written by

[eSIMCircle](https://hashnode.com/@esimcircle)

@esimcircle

  
[View profile](https://hashnode.com/@esimcircle)

eSIMCircle provides affordable global eSIM plans with reliable data in 200+ countries.

eSIMCircle provides affordable global eSIM plans with reliable data in 200+ countries.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
