dubbo ChannelHandler

Remember we are doing service exposed bind and connect service call has a ExchangeHandler instance as to the Senate:

 

 

The handler will eventually be encapsulated using the decorator pattern several layers, in Dubbo Handler to provide a large number of load characteristics and expansion, which eventually Handler and the associated underlying communication framework do. In NettyServer and NettyClient Handler has up to 3, respectively, encoding, decoding, and NettyServerHandler or NettyClientHandler:

 

 

 

 

Is the thread pool dispatcher in the figure Dispatcher, Dispatcher real job is to create a thread distribution capabilities ChannelHandler, such as AllChannelHandler, MessageOnlyChannelHandler and ExecutionChannelHandler, which itself does not have the ability to distribute thread

 

Guess you like

Origin www.cnblogs.com/lccsblog/p/11964642.html