Netty 3.7.0 Final First article

Source: Internet
Author: User

Netty Introduction:


Do the game know, Netty and Mina is the network layer communication popular two kinds of socket framework. Mina appeared earlier, belongs to Apache,netty current update is relatively stable, 5 is still in the Alpha version, the series Netty the first four is mainly about the current comparison of more than 3 series, will briefly talk about Netty4 and Mina.


Netty is the network communication framework, why use Netty? What are the benefits of using Netty? Java NIO-based programming can actually refer to the reactor model, multiplexing these, listening ports, threading, closing connections, and so on, these are thought to be very complex, and we use Netty, we can not consider the content of these underlying communications, directly processing our business logic.


The key to understanding Netty, in addition to the need to supplement NIO knowledge, there is one of its events.

Summarize Netty:channel with a brief sentence is the pipeline, is the channelevent of the generation, channelevent through Channelhandler processing, Channelpipeline is the collection of Channelhandler.


A previously interviewed game company asked about the Mina framework bug, and why Netty was chosen, and the difference between the two.

Netty 3.7.0 Final First article

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.