What is Spring Cloud?

Source: Internet
Author: User
Tags zookeeper

Brief introduction

Spring Cloud is an ordered collection of frames. It uses spring boot's development convenience to subtly simplify the development of distributed system infrastructures, such as service discovery registration, Configuration center, message bus, load balancer, circuit breakers, data monitoring, and so on, all of which can be started and deployed with spring boot development style.

Spring does not reinvent the wheel, it simply combines the more mature and proven service frameworks currently developed by companies, masking the complexities of configuration and implementation through the spring boot style, and ultimately leaving developers with a set of easy-to-understand, Easy-to-deploy and maintainable Distributed system Development Kit.

Current Latest Version: DALSTON.SR3

Official website: http://projects.spring.io/spring-cloud/

Characteristics

Spring Cloud is focused on providing a good out-of-the-box experience with typical use cases and extensibility mechanisms covered.

    • Distributed/versioned Configuration

    • Service Registration and Discovery

    • Routing

    • Service-to-service Call

    • Load Balancing

    • Circuit Breaker

    • Distributed Message Delivery
Sub-project

Spring Cloud's sub-projects can be broadly divided into two categories: the encapsulation and abstraction of the existing mature framework "Spring boot", and the largest number of projects, and the second is the development of a subset of the distributed system infrastructure, such as the spring Cloud Stream plays the role of Kafka, Activemq. For developers who want to quickly practice microservices, the first category of sub-projects is enough to be used, such as:

    • Spring Cloud Netflix

      is a package of distributed service frameworks developed by Netflix, including discovery and registration of services, load balancing, circuit breakers, rest clients, request routing, and so on.
        

    • Spring Cloud Config

      The configuration information is externally stored and can be dynamically modified with spring Cloud bus.
        

    • Spring Cloud Bus

      Distributed Message Queuing, which is the encapsulation of Kafka, MQ.
        

    • Spring Cloud Security

      is the package of spring security that enables authentication calls and security protection between services, and can be used with Netflix.
        

    • Spring Cloud Zookeeper

      The encapsulation of the zookeeper makes it possible to configure other spring cloud-enabled sub-projects.
        

    • Spring Cloud Eureka

      is part of the Spring Cloud Netflix microservices Suite, which is based on the Netflix Eureka two times, and is primarily responsible for service governance capabilities in the MicroServices architecture.

Prospect

Spring Cloud is a boon for small and medium-sized internet companies, which often have little or no money to develop their own distributed system infrastructure, and the spring cloud one-stop solution can dramatically reduce development costs while managing business growth. At the same time, with the popularity of the microservices architecture and Docker container concept in recent years, Spring Cloud will have a niche in the future of "cloud" software development style, especially in the current variety of distributed solutions to provide a standardized, full-site technology solutions, The meaning may be comparable to the birth of the current servlet specification, and effectively advance the technical level of software system in the server.

And the contrast of Dubbo
component Dubbo Spring Cloud
service registry Zookeeper Spring Cloud Netflix Eureka
Service Invocation method rpc REST API
service Gateway None Spring Cloud Netflix zuul
Circuit Breaker not perfect Spring Cloud Netflix hystrix
Distributed configuration none Spring Cloud Config
Service Trace none Spring Cloud sleuth
message bus none Spring Cloud bus
Data Flow None Spring Cloud stream
Bulk Task none Spring Cloud task
... ... ...

So, the comparison shows there is no comparison, Dubbo is just a subset of Spring cloud, Spring Cloud is a series of distributed solution packages. However, with the current Dubbo official re-affirmed the maintenance and attention, the Dubbo biosphere will gradually become stronger.

Recommended: Spring Boot & Cloud's Strongest technology tutorials

Scan attention to our public number, dry foods updated daily.

What is Spring Cloud?

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.