一个异步的基于事件驱动的高性能网络应用框架。
必须掌握的知识
Netty 的设计思想,设计哲学,它是如何理解这个网络世界的
Netty 的线程模型和网络处理模型
Netty 对 ByteBuffer 的改进和优化
Netty 开发应用的一般流程
主从 Reactor 线程模型
IO 多路复用非阻塞
无锁串行化设计思想
支持高性能序列化协议
零拷贝技术(使用 Java 提供的直接内存和 OS 的 DMA 能力)
扩展阅读:
搞懂 零拷贝技术arrow-up-right
ByteBuf 内存池设计
灵活的 TCP 参数配置能力
并发优化
Todo:
Netty Bootstrap, EventLoop, EventLoopGroup etc.
git clone https://github.com/shniu/netty.gitarrow-up-right git remote add upstream https://github.com/netty/netty.gitarrow-up-right git remote -v git fetch upstream git checkout -b 4.1.55.Final git pull upstream netty-4.1.55.Final https://git-scm.com/bookarrow-up-right
git clone https://github.com/shniu/netty.gitarrow-up-right
git remote add upstream https://github.com/netty/netty.gitarrow-up-right
git remote -v git fetch upstream git checkout -b 4.1.55.Final
git pull upstream netty-4.1.55.Final
https://git-scm.com/bookarrow-up-right
最后更新于4年前