Netty is a high-performance, asynchronous event-driven NIO framework. It provides support for TCP, UDP and file transfer. As an asynchronous NIO framework, all IO operations of Netty are asynchronous and non-blocking. Through the Future-Listener mechanism, Users can easily obtain the results of IO operations actively or through the notification mechanism.
Netty applications: Dubbo, RocketMQ, Hadoop
Why is Netty's performance high?
- Asynchronous non-blocking communication
- Zero copy
- Memory pool
- Efficient reactor threading model
- Lock-free serial design concept
- Efficient concurrent programming
- High-performance serialization framework
- Flexible TCP parameter configuration capability