Motan

https://github.com/weibocom/motan/wiki/zh_userguide

 http://www.cnblogs.com/mantu/p/5885996.html(源码分析)

https://qbgbook.gitbooks.io/spring-boot-reference-guide-zh/content/III.%20Using%20Spring%20Boot/13.2.1.%20Inheriting%20the%20starter%20parent.html

 http://www.cnblogs.com/JulyZhang/archive/2011/01/28/1947165.html

 

  • 当Server发生变更时,Registry会同步变更,Client感知后会对本地的服务列表作相应调整。(本地服务列表做出相应的调整!!!)  --》》》--  当Server 列表发生变更时也由register模块通知Client。
  • SPI概念
  • protocol
  • hessian2 序列化
  • transport

    用来进行远程通信,默认使用Netty nio的TCP长链接方式。

  • 在进行RPC请求时,Client通过代理机制调用cluster模块,cluster根据配置的HA和LoadBalance选出一个可用的Server,通过serialize模块把RPC请求转换为字节流,然后通过transport模块发送到Server端。
  • google protobuffer 
    1. <dependency>  
    2.         <groupId>com.google.protobuf</groupId>  
    3.         <artifactId>protobuf-java</artifactId>  
    4.         <version>${protobuf-java.version}</version>  
    5.     </dependency

 

一 :

导入springboot的包会报:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/repository/org/slf4j/slf4j-log4j12/1.7.12/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]

解决方案:

<exclusions>
    <exclusion>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-log4j12</artifactId>
    </exclusion>
</exclusions>
posted @ 2017-03-10 16:58  bcombetter  阅读(258)  评论(0编辑  收藏  举报