The reason for Netty's high performance

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?

  1. Asynchronous non-blocking communication
  2. Zero copy
  3. Memory pool
  4. Efficient reactor threading model
  5. Lock-free serial design concept
  6. Efficient concurrent programming
  7. High-performance serialization framework
  8. Flexible TCP parameter configuration capability

Guess you like

Origin blog.csdn.net/Anenan/article/details/114576571