Asynchronous communication framework Netty and Mina for the JAVA NIO class library

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.