SpringCloud Getting Started 1 Introduction ---

SpringCloud Getting Started 1 Introduction ---

SpringCloud entry 2 --- Eureka (service discovery component)

SpringCloud Getting Started 3 --- Feign (service call component)

SpringCloud entry 4 --- Hystrix (fuse assembly)

SpringCloud entry-5 --- Zuul (Serving Gateway)

Taking into account SpringCloud family bucket to follow trends in the development of Java, in recent times in his spare time, to SpringCloud do some in-depth research, and as a topic to help small partners to SpringCloud of entry:

The first chapter, we make a brief introduction to SpringCloud:

1. What is SpringCloud?

       Spring Cloud is an ordered collection of a series of frames. It uses facilitate the development of Spring Boot cleverly simplify the development of distributed systems infrastructure, such as service discovery registration, distribution center, message bus, load balancing, fuses, data monitoring, etc., can be done with a style of development of Spring Boot and a key to start the deployment. Spring is not reinventing the wheel, it just will present each company developed more mature, and can withstand the test of actual service framework combined, re-packaged masked a complex configuration and implementation of the principles by Spring Boot style, eventually to develop to set aside a set of easy to understand, easy to deploy and easy maintenance of distributed systems development kit.
       Official Website Spring Cloud project: http: //projects.spring.io/spring-cloud/

2, the difference SpringCloud and SpringBoot

     Here, we first under universal SpringBoot, Spring Boot is a fast configuration of Spring Scaffolding, from complex configuration file SpringMVC era, can a cloud-based application development tools to quickly develop a single micro-Spring Boot Services, Spring Cloud is based on a realization of Spring Boot ; Spring Boot focus on fast, easy integration of a single individual micro-services, Spring Cloud services focus on overall governance framework;
     the Spring is greater than the Boot uses the default configuration concept, many programs have been integrated to help you choose well, could not configure not configured , Spring Cloud large part is based on the Spring Boot to achieve, it can not be based on Spring Boot? Not.
     Spring Boot can leave Spring Cloud development projects independently, but can not do without Spring Cloud Spring Boot, belonging to the dependent relationship.

3, SpringCloud main frame

     

    Can be seen from the figure, the core is divided into several components:

    Service Discovery --Netflix Eureka

    Service call --Netflix Feign

    Fuse --Netflix Hystrix

    Services Gateway --Netflix Zuul

    Distributed Configuration --Spring Cloud Config

    Message Bus - Spring Cloud Bus

Details here to do, to first understand roughly.

4, Spring Cloud and compare Dubbo

      With mainstream services and micro-distributed, and that the difference between SpringCloud Dubbo, what is it? In fact, comparing Spring Cloud and Dubbo's a little unfair, but realized Dubbo service governance, and Spring Cloud Here are 17 sub-projects (may also be added), respectively, covering all aspects of the next micro-service architecture, service management is only one aspect of , to some extent, Dubbo just a subset of Spring Cloud. This can be seen in the following comparison chart SpringCloud and contrast functions substantially in Dubbo.

      

5, to talk about SpringCloud version 

      SpringCloud because it is a combination of a series of frame, and the frame in order to avoid self-contained version of confusion, the use of the name of the London Underground station as the version name, name + version in the form of milestone number. M9 for the first nine milestone version. The following is a table with SpringBoot Spring Cloud version.

Above is a brief introduction of SpringCloud, unclear baidu can then look down, remember first understand SpringBoot first. The following blog we will focus on the various components of a simple entry SpringCloud.

 

Published 41 original articles · won praise 47 · views 30000 +

Guess you like

Origin blog.csdn.net/u014526891/article/details/87389727