https://github.com/collabh/onload-disruptor
在路上高性能无锁队列Disruptor学习
https://github.com/collabh/onload-disruptor
Last synced: 10 months ago
JSON representation
在路上高性能无锁队列Disruptor学习
- Host: GitHub
- URL: https://github.com/collabh/onload-disruptor
- Owner: collabH
- Created: 2019-09-23T16:27:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-04T23:53:55.000Z (over 3 years ago)
- Last Synced: 2025-02-10T07:44:14.033Z (over 1 year ago)
- Language: Java
- Size: 38.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Disruptor框架
* 参考basicJava模块下concurrent.compare包下,关于Disruptor和BlockingQueue性能对比
## quickStart
* 建立一个工厂Event类,用于创建Event类实例对象
* 需要有一个监听事件类,用于处理数据(Event类)
* 实例话Disruptor实例,配置一系列参数,编写Disruptor核心组件
* 编写生产者组件,向Disruptor容器中去投递数据
## 多生产者多消费者模型
* 详细参考mutil包下
## 基于netty实现高性能链接