The difference between Spring Cloud and Dubbo

Source: Internet
Author: User

Td>spring Cloud Sleuth
  Dubbo Spring Cloud
Service Registry Zookee Per Spring Cloud Netflix Eureka
Service Invocation method RPC REST api
service monitoring dubbo-monitor Spring Boot Admin
circuit breaker Imperfect Spring Cloud Netflix hystrix
service Gateway none Spring cloud Netflix zuul
distributed configuration none Spring Cloud Config
service tracking None
message bus none Spring Cloud Bus
Data Flow None Spring Cloud Stream
bulk Tasks none Spring Cloud Task
... ... ...
The biggest difference: Spring Cloud has abandoned Dubbo RPC traffic, using an HTTP-based rest approach. Strictly speaking, both of these methods have their merits and demerits. Although, to some extent, the latter sacrifices the performance of service invocations, it also avoids the problems associated with the native RPC mentioned above. And rest is more flexible than RPC, and the dependence of service providers and callers relies on only one paper contract, and there is no code-level strong dependency, which is more appropriate in the context of fast evolving microservices.
Summary: Dubbo and Spring Cloud are not completely competitive, and the problem domain is different: Dubbo is always positioned as an RPC framework, and Spring Cloud is designed to be a one-stop solution for microservices architectures.
In contrast, Dubbo can be likened to the Netflix OSS stack, while spring Cloud integrates Netflix OSS as a distributed service governance solution, but in addition to spring cloud, it also provides the config, stream, Security, sleuth and other distributed service solutions. Currently, due to the RPC protocol, registry metadata mismatch and other issues, in the face of micro-service infrastructure selection Dubbo and Spring Cloud can only two select one, which is the reason for the comparison between the total.
Dubbo will actively seek to adapt to the spring cloud ecosystem, for example, as a Springcloud binary communication solution to perform Dubbo performance benefits, or Dubbo through modularity and support for HTTP to Spring cloud

The difference between Spring Cloud and Dubbo

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.