Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture

First, what is SpringCloud

What is SpringCloud: is a service management platform that provides some service framework. It includes: service registration and discovery, configuration center, message center, load balancing, data monitoring and so on.

1 concept definition

Spring Cloud is a microblogging service framework, compared to Dubbo and other RPC framework,  Spring Cloud mention

A full range of solutions for distributed systems .

Spring Cloud services to several open source components of micro Netflix basic framework of the package, while achieving the integration and cloud platform and development framework and Spring Boot.

Spring Cloud service for the micro-architecture development related to configuration management, service management, fusing mechanism, intelligent routing, micro broker, a control bus, a one-time token, global consistency lock, leader election, distributed session, the state of the cluster provides management operations a simple way to development.

Spring Cloud provides developers to quickly build tools distributed systems , developers can quickly build applications or start services, while being able to quickly and cloud resources platform for docking.

Position 2 Spring Cloud projects

Sping Cloud Spring is a top-level project with Spring Boot, Spring Data in the same position.

3 Spring Cloud subprojects

Spring Cloud contains many sub-projects, such as:

Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture


3.1Spring Cloud Config: configuration management tools to support storage configurations using Git content, support for external storage applications configured to support client configuration information refresh, configure encryption and decryption content

3.2 Spring Cloud Bus: event message bus for the cluster (e.g., configuration change event) and the propagation state change, may be combined to achieve thermal Spring Cloud Config deployment.

3.3Spring Cloud Netflix:针对多种 Netflix 组件提供的开发工具包,其中包括Eureka、Hystrix、Zuul、Archaius 等。

3.3.1Netflix Eureka:一个基于 rest 服务的服务治理组件,包括服务注册中心、服务注册与服务发现机制的实现,实现了云端负载均衡和中间层服务器的故障转移。

3.3.2Netflix Hystrix:容错管理工具,实现断路器模式,通过控制服务的节点,从而对延迟和故障提供更强大的容错能力。

3.3.3Netflix Ribbon:客户端负载均衡的服务调用组件。

3.3.4Netflix Feign:基于 Ribbon 和 Hystrix 的声明式服务调用组件。

3.3.5Netflix Zuul:微服务网关,提供动态路由,访问过滤等服务。

3.3.6Netflix Archaius:配置管理 API,包含一系列配置管理 API,提供动态类型化属性、线程安全配置操作、轮询框架、回调机制等功能。

3.4Spring Cloud for Cloud Foundry : 通 过 Oauth2 协 议 绑 定 服 务 到CloudFoundry,CloudFoundry 是 VMware 推出的开源 PaaS 云平台。

3.5Spring Cloud Sleuth:日志收集工具包,封装了 Dapper,Zipkin 和 HTrace操作。

3.6Spring Cloud Data Flow:大数据操作工具,通过命令行方式操作数据流。

3.7Spring Cloud Security:安全工具包,为你的应用程序添加安全控制,主要是指 OAuth2。

3.8Spring Cloud Consul:封装了 Consul 操作,consul 是一个服务发现与配置工具,与 Docker 容器可以无缝集成

3.9Spring Cloud Zookeeper : 操 作 Zookeeper 的 工 具 包 , 用 于 使 用zookeeper 方式的服务注册和发现。

3.10Spring Cloud Stream:数据流操作开发包,封装了与 Redis,Rabbit、Kafka 等发送接收消息。

3.11Spring Cloud CLI:基于 Spring Boot CLI,可以让你以命令行方式快速建立云组件。

二、 SpringCloud 与 Dubbo 的区别

Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture


三、 Spring Cloud 版本说明

1 常见版本号说明

软件版本号:2.0.2.RELEASE

2:主版本号。当功能模块有较大更新或者整体架构发生变化时,主版本号会更新

0:次版本号。次版本表示只是局部的一些变动。

2:修改版本号。一般是 bug 的修复或者是小的变动

RELEASE:希腊字母版本号。次版本号用户标注当前版本的软件处于哪个开发阶段

1.1希腊字母版本号

Base:设计阶段。只有相应的设计没有具体的功能实现。

Alpha:软件的初级版本。存在较多的 bug

Bate:表示相对 alpha 有了很大的进步,消除了严重的 bug,还存在一些潜在的 bug。

Release:该版本表示最终版。

2 Spring Cloud 版本号说明

2.1为什么 Spring Cloud 版本用的是单词而不是数字?

设计的目的是为了更好的管理每个 Spring Cloud 的子项目的清单。避免子的版本号与子项目的版本号混淆。

2.2版本号单词的定义规则

采用伦敦的地铁站名称来作为版本号的命名,根据首字母排序,字母顺序靠后的版本号越大。

2.3版本发布计划说明

Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture


Spring Cloud 与子项目版本兼容说明

Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture


由于篇幅有限,文案过长,笔者无法为大家讲述微服务中的方方面面。微服务是-一个非常宏观的话题,要想切实落地微服务架构,光靠一两本书是远远不够的。 微服务粒度、持续集成、自动化机制、组织机构的建设乃至如何从传统架构向微服务架构迁移,都是值得我们深思的问题。

Spring Cloud and Docker combat micro Services Architecture

Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture



Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture



Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture



Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture



Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture



Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture



Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture



Chief Architect Ali talk about micro-services: SpringCloud and Docker entry to the actual architecture


Due to limited space, copy too long, we can not tell all aspects of micro service for everyone. Micro service is - a very macro-topic, in order to effectively landing micro Services Architecture, a book or two alone is not enough. Micro-service granularity, continuous integration, build automation mechanisms, organizations and even how to migrate to micro-service architecture, are worthy of our careful consideration from the traditional architecture.


Guess you like

Origin blog.51cto.com/14455981/2459769