线程模型
    
            
摘要:dubbo基于netty。有5种派发策略: 默认是all:所有消息都派发到线程池,包括请求,响应,连接事件,断开事件,心跳等。 即worker线程接收到事件后,将该事件提交到业务线程池中,自己再去处理其他事 direct:worker线程接收到事件后,由worker执行到底。 message:只有请
        
阅读全文
                posted @ 
2023-01-08 17:11 
溪水静幽
        
阅读(40) 
         
        推荐(0)     
             
            
            
    1.dubbo源码解析
    
            
摘要:dubbo-common 模块: Dubbo 的一个公共模块 dubbo-remoting 模块: Dubbo 远程通信模块,子模块依赖各种开源组件实现远程通信,dubbo-remoting-api 子模块中定义该模块的抽象概念,在其他子模块中依赖其他开源组件进行实现,例如,dubbo-remoti
        
阅读全文
                posted @ 
2022-08-28 16:11 
溪水静幽
        
阅读(136) 
         
        推荐(0)     
             
            
            
    springboot整合dubbo
    
            
摘要:UserService接口 public interface UserService { /** * 获取用户信息 * * @return */ List<UserInfo> getUserInfoList();} UserInfo类 @NoArgsConstructor@Getter@Setter
        
阅读全文
                posted @ 
2018-12-15 21:21 
溪水静幽
        
阅读(128) 
         
        推荐(0)