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