目录
1. 什么是Dubbo
Dubbo是一个分布式服务框架,提供了分布式系统下服务调用(RPC)和服务治理(服务发现、负载均衡、限流、熔断、服务URL配置、服务监控等)的解决方案。
2. Dubbo四大基本组件
Registry(注册中心):服务注册与发现的注册中心
Monitor(监控中心):统计服务的调用次数和调用时间的监控中心
Provider:暴露服务的服务提供方
Consumer:调用远程服务的服务消费方
3. 基于SpringBoot的Dubbo使用示例
3.1. 添加dubbo-spring-boot-starter maven依赖
3.2. 创建2个SpringBoot项目,分别作为服务提供者和消费者
3.3. application.yml中配置服务注册和发现
(ps:详细步骤见github主页https://github.com/apache/dubbo-spring-boot-project中的Released version和Getting Started)
4. 官方文档
http://dubbo.apache.org/zh-cn/docs/user/new-features-in-a-glance.html