Netty and Mina, which one should I choose?
According to my experience, whichever you choose is the right choice. The two have their own merits, Netty in memory management is better, comprehensive performance is better. However, the management and compatibility of API changes is not doing so well. Compared to Netty,mina's forward compatibility, cohesive maintainability features more, such as JMX integration, performance statistics, state machines, etc.
Netty is one of the industry's most popular NIO frameworks, and its robustness, functionality, performance, customisation, and scalability are the best in its kind, and it has been validated by hundreds of commercial projects, such as the RPC framework for Hadoop Avro using Netty as a communications framework. Many other industry-leading RPC and distributed service frameworks also use Netty to build high-performance asynchronous communication capabilities.
The advantages of Netty are summarized as follows:
Easy to use API, low development threshold;
Powerful, preset a variety of codec functions, support a variety of mainstream protocols;
The ability of customization is strong, and the communication framework can be expanded flexibly through Channelhandler.
High performance, compared with other industry mainstream NIO framework, the Netty is optimal.
The community is active, the version iteration cycle is short, the bugs found can be repaired in time, and more new features will be added;
Experienced a large-scale commercial application test, quality is verified. In the Internet, big data, online games, enterprise applications, telecommunications software and many other industries have been successful commercial, proved that it fully meet the commercial standards of different industries.
Because of these advantages, Netty is becoming the preferred framework for Java NIO programming.
Asynchronous communication framework Netty and Mina for the JAVA NIO class library