Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dorkamotorka/multithreaded-ring-buffer-consumer

Multithreaded eBPF Ring Buffer Consumption
https://github.com/dorkamotorka/multithreaded-ring-buffer-consumer

Last synced: 16 days ago
JSON representation

Multithreaded eBPF Ring Buffer Consumption

Awesome Lists containing this project

README

        

# Multithreaded Ring Buffer Consumer

**NOTE**: This is experimental and a work in progress.

This project provides an implementation of a ring buffer (circular buffer) with multithreaded consumer capabilities. It is designed to efficiently handle concurrent data consumption using multiple threads.

## Two Concepts

There are two concepts, you will find in this repository. Namely:

- **spawn**: This has a single consumption point from the Ring Buffer, but dispatched the event to separate threads for further processing and allowing the program to again start consuming data from the ring buffer.
- **prespawn**: This spawns X threads and within each threads consumes from the Ring Buffer. Earlier test showed this dispatched events to threads in a ROUND ROBIN fashion.