多进程,多线程高性能消息队列和锁

一、多线程

1、A fast multi-producer, multi-consumer lock-free concurrent queue for C++11

https://github.com/cameron314/concurrentqueue

2、A fast single-producer, single-consumer lock-free queue for C++

https://github.com/cameron314/readerwriterqueue

注:

lock-free:无锁

concurrent queue:并发队列

 

二、多进程

1、java版本

https://github.com/LMAX-Exchange/disruptor

2、C++版本

https://github.com/Abc-Arbitrage/Disruptor-cpp

https://github.com/fsaintjacques/disruptor--

https://github.com/colding/disruptorC

你可能感兴趣的:(C/C++)