xenium
A C++ library providing various concurrent data structures and reclamation schemes. (by mpoeter)
MPMCQueue.h
A bounded multi-producer multi-consumer concurrent queue written in C++11 (by rigtorp)
xenium | MPMCQueue.h | |
---|---|---|
1 | 2 | |
462 | 1,093 | |
- | - | |
7.1 | 2.8 | |
5 months ago | about 2 months ago | |
C++ | C++ | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xenium
Posts with mentions or reviews of xenium.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-27.
-
My own Concurrent Hash Map picks
The parallel flat hash map also easily goes toe to toe with the Xenium lockfree hash maps, those maybe taking the edge in some use cases when properly set up for the specifics of said use cases - which takes quite a bit of playing around with and benchmarking, and which are also quite a bit more work to figure out in the first place.
MPMCQueue.h
Posts with mentions or reviews of MPMCQueue.h.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-18.
-
MPMC suggestions where messages are sent to all consumers ?
I have looked at the commonly recommended - https://github.com/cameron314/readerwriterqueue - https://github.com/rigtorp/MPMCQueue
-
Correctly implementing a spinlock in Modern C++
You can align and pad each ring buffer slot to the cache line size. Example https://github.com/rigtorp/MPMCQueue/blob/master/include/rig...
What are some alternatives?
When comparing xenium and MPMCQueue.h you can also consider the following projects:
C++ Actor Framework - An Open Source Implementation of the Actor Model in C++
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Taskflow - A General-purpose Parallel and Heterogeneous Task Programming System
Disruptor - High Performance Inter-Thread Messaging Library
abseil-cpp - Abseil Common Libraries (C++)
libmill - Go-style concurrency in C
readerwriterqueue - A fast single-producer, single-consumer lock-free queue for C++
ArrayFire - ArrayFire: a general purpose GPU library.
RaftLib - The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl