Netty
1. 传统阻塞模型 BIO
2. 单Reactor单线程模型
NIO/IO复用
// client => MainReactor (select dispatch) => Accpetor => Handler
3. 单Reactor多线程模型
// client => MainReactor (select dispatch) => Accpetor => Handler(线程池)
4. 主从Reactor多线程模型
// client => MainReactor (select dispatch) /SubReactor => Accpetor => Handler
参考