A thread-safe queue faster and more resource efficient than golang's native channels
-
Updated
Mar 12, 2024 - Go
A thread-safe queue faster and more resource efficient than golang's native channels
Single producer and multi-reader lockless ring buffer in go using generics from the go 1.18.x release. It is significantly faster than channels with the added type safety of generics compared to ring buffers using interfaces.
Lock-free MPMC Ring Buffer (Generic) for SMP, in golang. Some posts in chinese:
High-performance in-memory ring buffer
Lock free data structures and patterns in Golang
Lock-free ring buffer in Go, support SPSC/SPMC/MPSC/MPMC implementations.
A high-performance network packet capture library
A ringbuffer implementation in golang
flashflood is a ringbuffer on steroids for golang
A high-performance, memory-mapped ring buffer implementation in Go, designed for efficient inter-process or inter-thread communication. This library provides a lock-free (with minimal locking) ring buffer backed by memory-mapped files, making it suitable for high-throughput scenarios.
In-memory pub/sub designed for single producer fan-out to many consumers. Maximum write throughput, small memory footprint and best-effort delivery.
simple thread-free ringbuffer implement by golang
Ringbuffer with concurrent insertion and Iteration support
Add a description, image, and links to the ringbuffer topic page so that developers can more easily learn about it.
To associate your repository with the ringbuffer topic, visit your repo's landing page and select "manage topics."