LMAX's disruptor pattern: is there a port to C++? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the ques开发者_开发知识库tion so it can be answered with facts and citations.
Closed 5 years ago.
Improve this questionThere are open source Java and .NET versions of LMAX's Disruptor pattern, as described in the video LMAX - How to Do 100K TPS at Less than 1ms Latency. Here is more links to information on the Disruptor pattern.
Is anyone aware of a port of the Disruptor pattern to C++, either finished or in beta?
Update
Apparently others are calling for a C++ version of the Disruptor pattern.
Yes, there is already a functional C++ port. See http://www.2robots.com/2011/08/13/a-c-disruptor/.
From the above link ("others are calling.."), comments:
Thread for discussing upcoming C++ port of the Disruptor pattern: http://groups.google.com/group/lmax-disruptor/browse_thread/thread/4a47a0a9b5837ca2
Performance of C++ version of Disruptor: approx. 22 million messages per second, with batching this reaches up to 100 million messages per second, see: http://mechanical-sympathy.blogspot.com/2011/08/inter-thread-latency.html
There is a free version called hmbdc-base.rpm that can be downloaded from:
https://bitbucket.org/hmbd/hmbdc-rel/downloads
It supports CentOS 7, and doesn't rely on virtual functions, sub microsecond delay, very fast.
It also has reliable subscribe / publish multicast messaging support.
精彩评论