From 2e2d8511856977a0d89725ea55e3ccda98fe6d94 Mon Sep 17 00:00:00 2001 From: mercyblitz Date: Wed, 24 Apr 2019 17:24:16 +0800 Subject: [PATCH] Update Document --- spring-cloud-alibaba-dubbo/README.md | 0 spring-cloud-alibaba-dubbo/README_CN.md | 36 +++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 spring-cloud-alibaba-dubbo/README.md create mode 100644 spring-cloud-alibaba-dubbo/README_CN.md diff --git a/spring-cloud-alibaba-dubbo/README.md b/spring-cloud-alibaba-dubbo/README.md new file mode 100644 index 00000000..e69de29b diff --git a/spring-cloud-alibaba-dubbo/README_CN.md b/spring-cloud-alibaba-dubbo/README_CN.md new file mode 100644 index 00000000..47ead9f2 --- /dev/null +++ b/spring-cloud-alibaba-dubbo/README_CN.md @@ -0,0 +1,36 @@ +## 简介 + +Dubbo Spring Cloud 基于 Dubbo Spring Boot 2.7.1[^1] 和 Spring Cloud 2.x 开发,无论开发人员是 Dubbo 用户还是 Spring Cloud 用户, +都能轻松地驾驭,并以接近“零”成本的代价使应用向上迁移。Dubbo Spring Cloud 致力于简化 Cloud Native 开发成本,提高研发效能以及提升应用性能等目的。 + +Dubbo Spring Cloud 首个 Preview Release,随同 Spring Cloud Alibaba `0.2.2.RELEASE` 和 `0.9.0.RELEASE` 一同发布[^2], +分别对应 Spring Cloud Finchley[^3] 与 Greenwich[^4] (下文分别简称为 “F” 版 和 “G” 版) 。 + +[^1]: 从 2.7.0 开始,Dubbo Spring Boot 与 Dubbo 在版本上保持一致 +[^2]: Preview releases of Spring Cloud Alibaba are available: 0.9.0, 0.2.2, and 0.1.2 - +[^3]: 目前最新的 Spring Cloud “F” 版的版本为:`Finchley.SR2` - +[^4]: 当前Spring Cloud “G” 版为 `Greenwich.RELEASE` + + + +## 功能 + +由于 Dubbo Spring Cloud 构建在原生的 Spring Cloud 之上,其服务治理方面的能力可认为是 Spring Cloud Plus, +不仅完全覆盖 Spring Cloud 原生特性[^5],而且提供更为稳定和成熟的实现,特性比对如下表所示: + +| 功能组件 | Spring Cloud | Dubbo Spring Cloud | +| ---------------------------------------------------- | -------------------------------------- | ------------------------------------------------------ | +| 分布式配置(Distributed configuration) | Git、Zookeeper、Consul、JDBC | Spring Cloud 分布式配置 + Dubbo 配置中心[^6] | +| 服务注册与发现(Service registration and discovery) | Eureka、Zookeeper、Consul | Spring Cloud 原生注册中心[^7] + Dubbo 原生注册中[^8] | +| 负载均衡(Load balancing) | Ribbon(随机、轮询等算法) | Dubbo 内建实现(随机、轮询等算法 + 权重等特性) | +| 服务熔断(Circuit Breakers) | Spring Cloud Hystrix | Spring Cloud Hystrix + Alibaba Sentinel[^9] 等 | +| 服务调用(Service-to-service calls) | Open Feign、`RestTemplate` | Spring Cloud 服务调用 + Dubbo `@Reference` | +| 链路跟踪(Tracing) | Spring Cloud Sleuth[^10] + Zipkin[^11] | Zipkin、opentracing 等 | + +[^5]: Spring Cloud 特性列表 - +[^6]: Dubbo 2.7 开始支持配置中心,可自定义适配 - +[^7]: Spring Cloud 原生注册中心,除 Eureka、Zookeeper、Consul 之外,还包括 Spring Cloud Alibaba 中的 Nacos +[^8]: Dubbo 原生注册中心 - +[^9]: Alibaba Sentinel:Sentinel 以流量为切入点,从流量控制、熔断降级、系统负载保护等多个维度保护服务的稳定性 - ,目前 Sentinel 已被 Spring Cloud 项目纳为 Circuit Breaker 的候选实现 - +[^10]:Spring Cloud Sleuth - +[^11]: Zipkin - \ No newline at end of file