前言
“微服务 ” 架构在这几年被广泛传播, 变得非常火热, 以至于关于微服务架构相关的开源框架和工具都变得越来越活跃,比如: Net和xOSS、 Dubbo、 Apache T加ft 等。Spring Cloud 也因为 Spring 社区在企业应用领域的广泛知名度和强大影响力, 受到了广大架构师与开发者的高度关注。
从接触 Spring Cloud 开始, 我除了被其庞大的项目结构霞撼之外, 还被其所要完成的远大目标所吸引。 该项目不同于其他 Spring 的优秀项目, 它不再是一个基础框架类, 而是一个更高层次的、 架构视角的综合性大型项目, 其目标旨在构建一套标准化的微服务解决方案, 让架构师、 开发者在使用微服务理念构建应用系统的时候, 面对各个环节的问题都可以找到相应的组件来处理。 引用网友戏称的一个比喻: Spring Cloud 可以说是 Spring 社区为微服务架构提供的一个“ 全家桶 ” 套餐。 由于 “ 套餐 ” 中的组件通过一个社区进行包装与整合, 使得 “ 套餐 ” 中各个组件之间的配合变得更加和谐, 这可以有效减少我们在组件的选型和整合上花费的精力, 所以它可以帮助我们快速构建起基础的微服务架构系统。
目录
第一章 Spring Cloud概述
第二章 搭建开发环境
第三章 微服务发布与调用
第四章 负载均衡
第五章 REST客户端Feign
第六章 Spring Cloud的保护机制
第七章 微服务集群网管
第八章 微服务与消息驱动
第九章 集群配置中心
第十章 微服务跟踪
第十一章 微服务数据库实战
第十二章 案例实战