-
默认使用的是什么通信框架,还有别的选择吗?
默认也推荐使用netty框架,还有mina以及基于servlet等方式。
https://www.cnblogs.com/songxh-scse/p/6692301.html
https://blog.youkuaiyun.com/youanyyou/article/details/78990214
默认是阻塞的,可以异步调用,没有返回值的可以这么做。
https://my.oschina.net/yaohonv/blog/1606807
推荐使用zookeeper注册中心,还有Multicast、Redis和Simple等。
https://blog.youkuaiyun.com/u011659172/article/details/51491518
默认使用Hessian序列化,还有Duddo、FastJson、Java自带序列化。
https://blog.youkuaiyun.com/CHS007chs/article/details/76618265
服务失效踢出基于zookeeper的临时节点原理。
https://www.jianshu.com/p/f42c69e4bd3e?fromApp=1
采用多版本开发,不影响旧版本。
https://blog.youkuaiyun.com/whereismatrix/article/details/53784464
可以结合zipkin实现分布式服务追踪。
https://blog.youkuaiyun.com/liaokailin/article/details/52077620
核心配置有
dubbo:service/
dubbo:reference/
dubbo:protocol/
dubbo:registry/
dubbo:application/
dubbo:provider/
dubbo:consumer/
dubbo:method/
默认使用dubbo协议。
https://blog.youkuaiyun.com/zh521zh/article/details/76445520
可以直连,修改配置即可,也可以通过telnet直接某个服务。
读操作建议使用Failover失败自动切换,默认重试两次其他服务器。写操作建议使用Failfast快速失败,发一次调用失败就立即报错。
https://blog.youkuaiyun.com/jnqqls/article/details/46702103
dubbox是当当网基于dubbo上做了一些扩展,如加了服务可restful调用,更新了开源组件等。
https://my.oschina.net/u/1033181/blog/1794534
别的还有spring的spring cloud,facebook的thrift,twitter的finagle等。