https://projects.spring.io/spring-cloud/spring-cloud.html
Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly stand up services and applications that implement those patterns. They will work well in any distributed environment, including the developer’s own laptop, bare metal data centres, and managed platforms such as Cloud Foundry.
Features
Spring Cloud focuses on providing good out of box experience for typical use cases and extensibility mechanism to cover others.
-
Distributed/versioned configuration
-
Service registration and discovery
-
Routing
-
Service-to-service calls
-
Load balancing
-
Circuit Breakers
-
Global locks
-
Leadership election and cluster state
-
Distributed messaging
Feature | Spring Cloud | Dubbo Spring Cloud |
---|---|---|
Distributed configuration |
Git、Zookeeper、Consul、JDBC |
Spring Cloud Distributed Configuration + Dubbo Configuration Center[6] |
Service registration and discovery |
Eureka、Zookeeper、Consul |
Spring Cloud Native Registration Center[7] + Dubbo Native Registration Center[8] |
Load balancing |
Ribbon(Random, RoundRobin) |
Dubbo built-in implementation (random, polling, etc. + weights, etc.) |
Circuit Breakers |
Spring Cloud Hystrix |
Spring Cloud Hystrix + Alibaba Sentinel[9] etc. |
Service-to-service calls |
Open Feign、 |
Spring Cloud service call + Dubbo |
Tracing |
Spring Cloud Sleuth[10] + Zipkin[11] |
Zipkin、opentracing, etc. |