MPMCQueue.h
A bounded multi-producer multi-consumer concurrent queue written in C++11 (by rigtorp)
disruptorplus
A disruptor thread-synchronisation data structure for C++11. (by xenia-project)
MPMCQueue.h | disruptorplus | |
---|---|---|
2 | 1 | |
1,093 | 2 | |
- | - | |
2.8 | 10.0 | |
about 2 months ago | about 2 years 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.
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...
disruptorplus
Posts with mentions or reviews of disruptorplus.
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'm using https://github.com/xenia-project/disruptorplus ( which is forked from https://github.com/lewissbaker/disruptorplus ) with a single producer (multi producer is also possible if I'm correct) it is a (luckily) more bare bones version of the already mentioned Java Disruptor.
What are some alternatives?
When comparing MPMCQueue.h and disruptorplus you can also consider the following projects:
moodycamel - A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
readerwriterqueue - A fast single-producer, single-consumer lock-free queue for C++
Disruptor - High Performance Inter-Thread Messaging Library
disruptorplus - A disruptor thread-synchronisation data structure for C++11.
abseil-cpp - Abseil Common Libraries (C++)
libmill - Go-style concurrency in C
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
A C++14 library for executors - C++ library for executors
Boost.Compute - A C++ GPU Computing Library for OpenCL
libdill - Structured concurrency in C
HPX - The C++ Standard Library for Parallelism and Concurrency
MPMCQueue.h vs moodycamel
disruptorplus vs readerwriterqueue
MPMCQueue.h vs Disruptor
disruptorplus vs disruptorplus
MPMCQueue.h vs abseil-cpp
MPMCQueue.h vs readerwriterqueue
MPMCQueue.h vs libmill
MPMCQueue.h vs Thrust
MPMCQueue.h vs A C++14 library for executors
MPMCQueue.h vs Boost.Compute
MPMCQueue.h vs libdill
MPMCQueue.h vs HPX