Spring Cloud之SpringCloud介绍

SpringCloud 官方介绍:

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 Boot的开发便利性巧妙地简化了分布式系统基础设施的开发,如服务发现注册、配置中心、消息总线、负载均衡、断路器、数据监控等,都可以用Spring Boot的开发风格做到一键启动和部署。Spring并没有重复制造轮子,它只是将目前各家公司开发的比较成熟、经得起实际考验的服务框架组合起来,通过Spring Boot风格进行再封装屏蔽掉了复杂的配置和实现原理,最终给开发者留出了一套简单易懂、易部署和易维护的分布式系统开发工具包。

中文文档:https://springcloud.cc/

官方文档:http://projects.spring.io/spring-cloud/

SpringCloud架构图


SpringCloud核心组件

1. Zuul Api网关

    客户端请求统一到达网关,网关进行请求分发。

2.Eureka注册中心

    服务提供者的注册与发现中心

3.Ribbon客户端负载均衡

    请求负载均衡算法。

4.Feign微服务之间相互调用

    微服务之间调用

5.Hystrix负责处理服务超时熔断

    服务间超时熔断等。

6.配置中心分布式配置

    统一配置中心。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,403评论 19 139
  • 软件是有生命的,你做出来的架构决定了这个软件它这一生是坎坷还是幸福。 本文不是讲解如何使用Spring Cloud...
    Bobby0322阅读 22,845评论 3 166
  • Spring Boot 参考指南 介绍 转载自:https://www.gitbook.com/book/qbgb...
    毛宇鹏阅读 47,054评论 6 342
  • 有人说,爱是一个放大镜,它让怀着爱的人透过它看被爱的人时,一切好的被放大得更美好,一切不好的被放大成深深的担忧和恐...
    性淡如菊阅读 2,425评论 0 9
  • 要学会区分观点与事实,可以被证伪的是事实,无法被证实的是观点,要学会尊重他人理解他人,允许人与人之间有不同 个体有...
    媛媛梵音瑜伽阅读 1,781评论 0 0