*
默认使用的是什么通信框架,还有别的选择吗?
默认也推荐使用netty框架,还有mina以及基于servlet等方式。
https://www.cnblogs.com/songxh-scse/p/6692301.html
<https://www.cnblogs.com/songxh-scse/p/6692301.html>
https://blog.csdn.net/youanyyou/article/details/78990214
<https://blog.csdn.net/youanyyou/article/details/78990214>
*
服务调用是阻塞的吗?
默认是阻塞的,可以异步调用,没有返回值的可以这么做。
https://my.oschina.net/yaohonv/blog/1606807
<https://my.oschina.net/yaohonv/blog/1606807>
*
一般使用什么注册中心?还有别的选择吗?
推荐使用zookeeper注册中心,还有Multicast
<http://dubbo.io/User+Guide-zh.htm#UserGuide-zh-Multicast%E6%B3%A8%E5%86%8C%E4%B8%AD%E5%BF%83>
、Redis
<http://dubbo.io/User+Guide-zh.htm#UserGuide-zh-Redis%E6%B3%A8%E5%86%8C%E4%B8%AD%E5%BF%83>
和Simple
<http://dubbo.io/User+Guide-zh.htm#UserGuide-zh-Simple%E6%B3%A8%E5%86%8C%E4%B8%AD%E5%BF%83>
等。
https://blog.csdn.net/u011659172/article/details/51491518
<https://blog.csdn.net/u011659172/article/details/51491518>
*
默认使用什么序列化框架,你知道的还有哪些?
默认使用Hessian序列化,还有Duddo、FastJson、Java自带序列化。
https://blog.csdn.net/CHS007chs/article/details/76618265
<https://blog.csdn.net/CHS007chs/article/details/76618265>
*
服务提供者能实现失效踢出是什么原理?
服务失效踢出基于zookeeper的临时节点原理。
https://www.jianshu.com/p/f42c69e4bd3e?fromApp=1
<https://www.jianshu.com/p/f42c69e4bd3e?fromApp=1>
*
服务上线怎么不影响旧版本?
采用多版本开发,不影响旧版本。
https://blog.csdn.net/whereismatrix/article/details/53784464
<https://blog.csdn.net/whereismatrix/article/details/53784464>
*
如何解决服务调用链过长的问题?
可以结合zipkin实现分布式服务追踪。
https://blog.csdn.net/liaokailin/article/details/52077620
<https://blog.csdn.net/liaokailin/article/details/52077620>
*
说说核心的配置有哪些?
核心配置有
dubbo:service/
dubbo:reference/
dubbo:protocol/
dubbo:registry/
dubbo:application/
dubbo:provider/
dubbo:consumer/
dubbo:method/
*
dubbo推荐用什么协议?
默认使用dubbo协议。
https://blog.csdn.net/zh521zh/article/details/76445520
<https://blog.csdn.net/zh521zh/article/details/76445520>
*
同一个服务多个注册的情况下可以直连某一个服务吗?
可以直连,修改配置即可,也可以通过telnet直接某个服务。
*
画一画服务注册与发现的流程图
*
集群容错怎么做?
读操作建议使用Failover失败自动切换,默认重试两次其他服务器。写操作建议使用Failfast快速失败,发一次调用失败就立即报错。
https://blog.csdn.net/jnqqls/article/details/46702103
<https://blog.csdn.net/jnqqls/article/details/46702103>
*
在使用过程中都遇到了些什么问题?
*
dubbo和dubbox之间的区别?
dubbox是当当网基于dubbo上做了一些扩展,如加了服务可restful调用,更新了开源组件等。
https://my.oschina.net/u/1033181/blog/1794534
<https://my.oschina.net/u/1033181/blog/1794534>
*
你还了解别的分布式框架吗?
别的还有spring的spring cloud,facebook的thrift,twitter的finagle等。
https://www.zhihu.com/question/19832447
<https://www.zhihu.com/question/19832447>
热门工具 换一换