开源项目推荐:多进程和多线程的高性能消息队列(无锁队列),lock-free queue

一、多线程

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

https://github.com/cameron314/concurrentqueue

A Fast General Purpose Lock-Free Queue for C++ 

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

https://github.com/cameron314/readerwriterqueue

A Fast Lock-Free Queue for C++ 

注:

lock-free:无锁

concurrent queue:并发队列

3、https://blog.csdn.net/chenjiayi_yun/article/details/16333595

4、线程池

Hipe是采用C++11编写的高性能、跨平台、简单易用且功能强大的C++并发库。内置了多个独立线程池(Thread Pool),可针对多种场景提供高并发服务。(A high performance concurrent library)

https://github.com/CodingHanYa/Hipe

一个简单好用,性能优异的跨平台的C++线程池。

https://github.com/ChunelFeng/CThreadPool

二、多进程

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

  • 2
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值