netty02 framework why use Netty protocol

Netty is an asynchhronous event-driven network application framework
for rapid development of maintainable high performance protocal servers&clients
--high-scalability protocol servers and clients.

Netty is an NIO client server framework that enables quick and easy development of network applications such as protocol servers and clients.

framework

![](/Users/yifanguo/Desktop/屏幕快照 2018-07-24 19.12.41.png)

why use Netty

a general purpose protocal or its implementation sometimes does not scale very well

protocol

Additionally, Netty provides out-of-the-box decoders which enables you to implement most protocols very easily and helps you avoid from ending up with a monolithic unmaintainable handler implementation. Please refer to the following packages for more detailed examples:

io.netty.example.factorial for a binary protocol, and
io.netty.example.telnet for a text line-based protocol.