Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dorkamotorka/multithreaded-ring-buffer-consumer
- Owner: dorkamotorka
- License: bsd-2-clause
- Created: 2024-08-02T07:39:57.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T09:36:12.000Z (5 months ago)
- Last Synced: 2024-08-02T10:59:11.144Z (5 months ago)
- Language: C
- Size: 4.44 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.