An open API service indexing awesome lists of open source software.

https://github.com/tx7do/test_reactor


https://github.com/tx7do/test_reactor

Last synced: about 1 month ago
JSON representation

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)