Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ringbuffer

A small, minimal, lock-free multi-producer single-consumer ring buffer written in Rust.

Overview

This crate provides a compact, high-performance ring buffer implementation for use when one or more thread produces items and another thread consumes them. It's designed for low-latency scenarios and benchmarking against channels or other queue implementations.

Features

  • MPSC (multi-producer, single-consumer) lock-free ring buffer
  • Fixed capacity defined at compile time via a const generic

Build

  • cargo build --release

Run

  • cargo run

Benchmarks

Benchmarks use Criterion.

  • cargo bench

About

A simple single producer, single consumer ringbuffer implementation in rust

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages