开发者社区> 问答> 正文

Spring Cloud是什么?

Spring Cloud是什么?

展开
收起
Lee_tianbai 2021-01-05 15:44:09 701 0
1 条回答
写回答
取消 提交回答
  • 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. 这里面提到几个关键词:

     分布式系统中的常见模式

     任何分布式环境

    “分布式系统中的常见模式”给了 Spring Cloud 一个清晰的定位,即“模式”。也 就是说 Spring Cloud 是针对分布式系统开发所做的通用抽象,是标准模式的实现。 这个定义非常抽象,看完之后并不能知道 Spring Cloud 具体包含什么功能。再来看 一下 Spring 官方给出的一个 High Light 的架构图,就可以对这套模式有更清晰的认识:

    image.png

    可以看到这个图中间就是各个 Microservice,也就是我们的这个微服务的实现,周边 周围的话就是去围绕这个微服务来去做各种辅助的信息事情。例如分布式追踪、服务注册、 配置服务等,都绕微服务运行时所依赖的必不可少的的支持性功能。我们可以得出这样一个 结论:Spring Cloud 是以微服务为核心的分布式系统的一个构建标准。

    2021-01-05 15:45:26
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
云栖社区特邀专家徐雷Java Spring Boot开发实战系列课程(第20讲):经典面试题与阿里等名企内部招聘求职面试技巧 立即下载
微服务架构模式与原理Spring Cloud开发实战 立即下载
阿里特邀专家徐雷Java Spring Boot开发实战系列课程(第18讲):制作Java Docker镜像与推送到DockerHub和阿里云Docker仓库 立即下载