https://github.com/tx7do/test_reactor
https://github.com/tx7do/test_reactor
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tx7do/test_reactor
- Owner: tx7do
- License: mit
- Created: 2022-06-11T14:28:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T15:21:49.000Z (almost 4 years ago)
- Last Synced: 2025-01-02T05:32:09.327Z (over 1 year ago)
- Language: C++
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 测试Reactor模式
总共四种类型的Reactor方案:
1. 单 Reactor 单进程 / 线程;
2. 单 Reactor 多进程 / 线程;
3. 多 Reactor 单进程 / 线程;
4. 多 Reactor 多进程 / 线程。
## 参考文档
* [彻底搞懂Reactor模型和Proactor模型](https://cloud.tencent.com/developer/article/1488120)
* [如何深刻理解Reactor和Proactor?](https://www.zhihu.com/question/26943938)
* [高性能IO模型分析-Reactor模式和Proactor模式(二)](https://zhuanlan.zhihu.com/p/95662364)
* [libevent深入浅出](https://aceld.gitbooks.io/libevent/content/31_reactorfan_ying_dui_mo_shi.html)