阿里首席官珍藏,SpringCloud 精通日记,血汗全在这了
前言
微服务,作目前最为流行的架构技术,相信作为开发人员多少都有些了解,因为采用微服务构建系统会带来更为清晰的业务划分和可扩展性。对于微服务,阿里肯定有话要说,现在阿里第二代微服务 Spring Cloud Alibaba 成为主流,但要完全掌握 Alibaba 微服务,Spring Cloud 是前提,所以学习好 Spring Cloud 很有必要。
今天分享的,则是阿里首席官珍藏数年的 SpringCloud 精通日记,十余年的开发血汗全记录在里面了,希望能够帮助到你,带你掌握 SpringCloud 微服务!
需要 SpringCloud 精通日记 PDF 版的,添加微信:mxh5261。

开篇:微服务架构和 Spring Cloud 项目基础知识
1.初识微服务
微服务的优点
使用 Spring Framework 构建微服务
云原生应用程序的开发方法
了解微服务架构

2.使用微服务的 Spring
关于 Spring Boot
使用 Spring Boot 开发应用程序
API 文档
Spring Boot 执行器功能
开发者工具
将应用程序与数据库集成
运行应用程序

3.Spring Cloud 概述
从基础开始
发现和分布式配置
使用 Sleuth 进行分布式跟踪
消息传递和集成
云平台支持
其他有用的库
项目概述
版本列车

主体:微服务架构常见元素和 Spring Cloud 实现
1.服务发现
在服务器端运行 Eureka
在客户端启用 Eureka
高级配置设置
启用客户端和服务器之间的安全通信
Eureka API
副本和高可用性
区域

2.使用 Spring Cloud Config 进行分布式布置
HTTP API 资源简介
构建服务器端应用程序
构建客户端应用程序
客户端引导方法
存储库后端类型
其他功能
自动重新加载配置

3.微服务之间的通信
不同类型的通信
使用 Spring Cloud 进行同步通信
使用 Ribbon 执行负载均衡
将 RestTemplate 与服务发现结合使用
使用 Feign 客户端

4.高级负载均衡和断路器
负载均衡规则
自定义 Ribbon 客户端
带 Hystrix 的断路器模式
监控延时和容错
鼓掌和带有 Feign 的断路器模式

5.使用 API 网关进行路由和过滤
使用 Spring Cloud Netflix Zuul
使用 Spring Cloud Gateway

6.分布式日志记录和跟踪
微服务的最佳日志记录实践
使用 Spring Boot 记录日志
使用 ELK Stack 集中日志
Spring Cloud Sleuth

7.其他配置和发现功能
使用 Spring Cloud Consul
使用 Spring Cloud Zookeeper

8.消息驱动的微服务
了解 Spring Cloud Stream
构建消息传递系统
发布/订阅模型
配置选项
高级编程模型
使用 Apache Kafka
多个绑定器

9.保护 API 的安全
为 Spring Boot 启用 HTTPS
保证发现服务器的安全
保证配置服务器的安全
使用 OAuth2 进行授权

10.测试 Java 微服务
测试策略
测试 Spring Boot 应用程序
单元测试
组件测试
集成测试
契约测试
性能测试

核心:Docker 支持和 Spring Cloud 平台
1.Docker 支持
认识 Docker 及安装 Docker
常用的 Docker 命令
创建具有微服务的 Docker 镜像
持续交付
使用 Kubernetes

2.云平台上的 Spring 微服务
Pivotal Cloud Foundry
Heroku 平台

结尾
学习和实践微服务的过程,就好像一次打怪升级,一旦我们理解了微服务技术的核心逻辑,掌握了其思想要领,那么就可以帮助你站在系统的角度思考技术,更是让你成为一名优秀架构师的关键。
所以,此刻学习好微服务,刻不容缓。
如果你也需要这份 SpringCloud 全精通日记帮助你学习微服务,笔者很乐意分享。只需你:添加微信:mxh5261。
版权声明: 本文为 InfoQ 作者【Java~~~】的原创文章。
原文链接:【http://xie.infoq.cn/article/35f27c0b2d936c9885b4c6785】。未经作者许可,禁止转载。
评论