netty internal principle

1.netty three-tier architecture: an application layer (codec), scheduling level (duty chain), network layer (NiO)
2.tomcat three-tier architecture: the servlet container, adaptation layer, network layer (Connector)
3.http: Short connection, a response to a request, a connection.
4. complete unpacking data into a plurality of packet transmission network
5. stick package: Synthesis of a two unrelated data packet
6. custom codec
is incomplete without treatment, cached (long enough), wait for the next the combined data over the
mix in a process divided

Guess you like

Origin blog.csdn.net/weixin_39507514/article/details/88885497