在传统的软件架构中,我们通常采用的是单体应用来构建一个系统,一个单体应用糅合了各种业务模块。起初在业务规模不是很大的情况下,对于单体应用的开发维护也相对容易。但随着企业的发展,业务规模与日递增,单体应用变得愈发臃肿。由于单体应用将各种业务模块聚合在一起,并且部署在一个进程内,所以通常我们对其中一个业务模块的修改也必须将整个应用重新打包上线。为了解决单体应用变得庞大脯肿之后产生的难以维护的问题,微服务架构便出现在了大家的视线里。

今天小编要分享的这份Spring Cloud教程,让我在金九银十的时候收获阿里 头条的offer,秉承开源原则,现在免费的分享给看到这篇文章的小伙伴,如果对你有帮助的话, 点击文章开头链接免费领取文档

目录:

  • 初识Spring Cloud与微服务
  • Spring Cloud Eureka服务治理
  • Spring Cloud Ribbon客户端负载均衡
  •  Spring Cloud Hystrix服务容错
  • Spring Cloud Hystrix Dashboard仪表盘
  • Spring Cloud Hystrix Dashboard仪表盘& RabbitMQ
  • Spring Cloud Feign声明式服务调用
  •  Spring Cloud ZuuI服务网关
  • Spring Cloud Config统-配置管理
  • 使用Spring Cloud Bus刷新配置
  • 使用Spring Cloud Sleuth跟踪微服务
  • Spring Cloud Consul服务治理
  • Spring Cloud Alibaba Nacos注册中心
  • Spring Cloud Alibaba Nacos配置中心
  • Spring Cloud Alibaba Sentinel|控制台详解
  • Spring Cloud Alibaba Sentinel @SentinelResource

初识Spring Cloud与微服务

1.什么是微服务

2.什么是Spring Cloud

Spring Cloud Eureka服务治理

  • 1.搭建Eureka-Server服务注册中心
  • 2.搭建Eureka-Client服务提供者
  • 3. Eureka-Server集群
  • 4.搭建Server-Consumer服务消费者
  • 5. Eureka- Server添加认证
  • 6. Eureka配置

Spring Cloud Ribbon客户端负载均衡

  • 1. Ribbon简介
  • 2. RestTemplate详解
  • 3. RestTemplates实战
  • 4. Spring Cloud Ribbon配置

Spring Cloud Hystrix服务容错

  • 1.使用Hystrix
  • 2. @HystrixCommand详解‘
  • 3. Hystrix属性

Spring Cloud Hystrix Dashboard仪表盘

  • 1.监控单个Hystrix实例
  • 2. Turbine集群监控

Spring Cloud Hystrix Dashboard仪表盘

  • 1.监控单个Hystrix实例
  • 2. Turbine集群监控

Spring Cloud Feign 声明式服务调用

  • 1.搭建Feign Consumer
  • 2. Ribbon相关配置
  • 3. Hystrix相关配置
  • 4.其余Feign配置

Spring Cloud Zuul服务网关

  • Spring Cloud Zuul入门
  • 路由配置

头部过滤 & 重定向

  • 过滤器

Spring Cloud Config统一配置管理

  • 搭建Config-Server
  • 搭建Config-Client
  • Config-Server额外配置
  • Config-Client额外配置
  • 集群配置

使用Spring Cloud Bus刷新配置

  • 引入Spring Cloud Bus
  • WebHooks

使用Spring Cloud Sleuth跟踪微服务

  • 准备工作
  • 测试Spring Cloud Sleuth
  • 集成Zipkin

Spring Cloud Consul服务治理

  • 安装Consul
  • Server-Provider
  • Server-Consumer
  • consul集群

Spring Cloud Alibaba Nacos注册中心

  • Nacos安装
  • 框架搭建
  • Nacos作为注册中心
  • 测试负载均衡
  • Nacos注册中心配置

Spring Cloud Alibaba Nacos配置中心

  • 1.框架搭建
  • 2.基本使用
  • 3.获取配置规则
  • 4.配置划分实战
  • 5.配置回滚
  • 6.获取多个配置
  • 7.多配置共享
  • 8.常用配置

Spring Cloud Alibaba Sentinel控制台详解

  • 1.安装控制台
  • 2.搭建客户端
  • 3.流控规则
  • 4.降级规则
  • 5.热点规则
  • 6.系统规则
  • 7.授权规则

Spring Cloud Alibaba Sentinel @SentinelResource

  • 框架搭建
  • 基本用法
  • 其他属性

总结:

提起微服务,不得不提 Spring Cloud 全家桶系列,Spring Cloud 是一个服务治理平台,是若干个框架的集合,提供了全套的分布式系统解决方案。包含了:服务注册与发现、配置中心、服务网关、智能路由、负载均衡、断路器、监控跟踪、分布式消息队列等等。

如果您需要获取到这份spring cloud教程的话,可以点击文章开头链接免费领取