一、SpringCloud简介

教学视频

源码文件1源码文件2

springcloud官方文档(Hoxton SR5):https://cloud.spring.io/spring-cloud-static/Hoxton.SR5/reference/htmlsingle/
springcloud中文文档:https://www.springcloud.cc/
springcloud中国社区文档:http://docs.springcloud.cn/
https://www.bookstack.cn/read/spring-cloud-docs/docs-index.md

1、什么是微服务

In short, the microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services, which may be written in different programming languages and use different data storage technologies.——James Lewis and Martin Fowler (2014)

  • 微服务是一种架构风格
  • 一个应用拆分为一组小型服务
  • 每个服务运行在自己的进程内,也就是可独立部署和升级
  • 服务之间使用轻量级HTTP交互
  • 服务围绕业务功能拆分
  • 可以由全自动部署机制独立部署
  • 去中心化,服务自治。服务可以使用不同的语言、不同的存储技术

2、满足哪些维度?支撑起这些维度的具体技术?

  • 服务调用
  • 服务降级
  • 服务注册与发先
  • 服务熔断
  • 负载均衡
  • 服务消息队列
  • 服务网关
  • 配置中心管理
  • 自动化构建部署
  • 服务监控
  • 全链路追踪
  • 服务定时任务
  • 调度操作

3、什么是SpringCloud

SpringCloud=分布式微服务架构的站式解决方案,是多种微服务架构落地技术的集合体,俗称微服务全家桶

image-20220604125002406.png

image-20220604125002406.png

image-20220604125027431.png

image-20220604125034825.png

image-20220604125042238.png

image-20220604125050702.png

image-20220604125058839.png

image-20220604125103699.png

image-20220604125110500.png

image-20220604125116800.png

image-20220604125124681.png

image-20220604125131723.png

京东的促销节架构:

image-20220604125138269.png

阿里的架构:

image-20220604125143988.png

京东物流的架构:

image-20220604125151357.png

image-20220604125212460.png

image-20220604125218346.png

Spring Cloud技术栈:

image-20220604125225817.png

image-20220604125235321.png

image-20220604125242655.png

image-20220604125249604.png

image-20220604125255767.png