Spring Cloud Microservice Architecture in Practice
Tags
Summary
Editor's review
Who it's for
A good fit for
- Mid- to senior-level Java developers with Spring Boot fundamentals who wish to systematically learn microservice architecture
- Technical decision-makers on project teams transitioning from monolithic to microservice architecture
- Technology enthusiasts who need to understand the principles and best practices of Spring Cloud components in depth
- Students or researchers in computer-related majors who wish to understand distributed system design through hands-on projects
Not a good fit for
- Complete programming beginners with no foundation in Java or the Spring framework
- Readers who only wish to understand microservice theoretical concepts and have no intention of hands-on coding practice
Reading tips
- Reading in the book's chapter order is recommended, and be sure to practice each sample code by hand to build your own microservices demo project
- While reading, refer to official documentation and community resources to compare and understand differences and evolution across component versions
- Focus on the chapters about service decomposition design, distributed transaction handling, and system monitoring and governance, as these are the core and difficult points of implementing microservices
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- 版权信息
- 作者简介
- 内容简介
- 写在前面的话
- 前言
- 第一部分 架构设计
- 第1章 微服务架构与Spring Cloud
- 1.1 微服务架构的特点
- 1.2 微服务架构与整体式架构的区别
- 1.3 微服务架构与SOA的比较
- 1.4 微服务架构的优势
- 1.5 为实施微服务架构做好准备
- 1.6 Spring Cloud的优势
- 1.7 Spring Cloud工具套件介绍
- 1.8 Spring Cloud的版本说明
- 1.9 小结
- 第2章 高并发微服务架构设计
- 2.1 微服务总体架构设计
- 2.2 自然的压力分解
- 2.3 可弹性伸缩的集群环境
- 2.4 高度的独立性设计
- 2.5 API的分层调用关系
- 2.6 高可用的基础资源支持
- 2.7 快速响应的自动化基础设施
- 2.8 完善的监控体系
- 2.9 微服务的安全保障
- 2.10 小结
- 第3章 大型电商平台设计实例
- 3.1 电商平台总体设计
- 3.2 电商平台业务模型设计
- 3.3 合理划分微服务
- 3.4 创建REST API微服务
- 3.5 创建Web UI微服务
- 3.6 电商平台微服务体系架构
- 3.7 电商平台微服务项目工程
- 3.8 微服务项目数据库选型
- 3.9 电商平台微服务项目代码库
- 3.10 小结
- 第二部分 程序开发
- 第4章 开发环境准备
- 4.1 选择JDK的版本
- 4.2 下载IntelliJ IDEA
- 4.3 下载及配置Git客户端
- 4.4 创建Spring Cloud项目
- 4.5 小结
- 第5章 微服务治理
- 5.1 使用Consul创建注册中心
- 5.2 合理发挥断路器的作用
- 5.3 如何实现有效的监控
- 5.4 Zipkin链路跟踪
- 5.5 ELK日志分析平台
- 5.6 小结
- 第6章 类目管理微服务开发
- 6.1 了解领域驱动设计
- 6.2 Spring Data JPA
- 6.3 实体建模
- 6.4 查询对象设计
- 6.5 数据持久化设计
- 6.6 数据管理服务设计
- 6.7 单元测试
- 6.8 类目接口微服务开发
- 6.9 基于RESTful的微服务接口调用
- 6.10 类目管理Web应用微服务开发
- 6.11 使用Thymeleaf模板
- 6.12 总体测试
- 6.13 有关项目的打包与部署
- 6.14 小结
- 第7章 库存管理与分布式文件系统
- 7.1 基于MyBatis的数据库开发
- 7.2 数据库服务组装
- 7.3 单元测试
- 7.4 库存微服务接口开发
- 7.5 库存管理的Web应用开发
- 7.6 Web应用项目热部署设置
- 7.7 使用分布式文件系统DFS
- 7.8 总体测试
- 7.9 小结
- 第8章 海量订单系统微服务开发
- 8.1 使用MongoDB支持海量数据
- 8.2 订单文档建模
- 8.3 反应式MongoDB编程设计
- 8.4 Mongo单元测试
- 8.5 订单接口微服务开发
- 8.6 订单的分布式事务管理
- 8.7 订单管理后台微服务开发
- 8.8 集成测试
- 8.9 小结
- 第9章 移动商城的设计和开发
- 9.1 移动商城首页设计
- 9.2 商城的分类查询设计
- 9.3 商品详情页设计
- 9.4 用户下单功能实现
- 9.5 商城的用户登录与账号切换设计
- 9.6 订单查询设计
- 9.7 集成测试
- 9.8 小结
- 第10章 商家管理后台与SSO设计
- 10.1 商家权限体系的设计及开发
- 10.2 商家管理微服务设计
- 10.3 SSO设计
- 10.4 SSO客户端设计
- 10.5 小结
- 第11章 平台管理后台与商家菜单资源管理
- 11.1 平台管理后台数据服务设计
- 11.2 平台管理后台的访问控制设计
- 11.3 商家的注册管理设计
- 11.4 商家权限及其菜单资源管理设计
- 11.5 商家角色管理设计
- 11.6 小结
- 第三部分 运维部署
- 第12章 云服务环境与Docker部署工具
- 12.1 虚拟机与基于Docker创建的容器
- 12.2 安全可靠的云服务环境
- 12.3 Docker和docker-compose的下载与配置
- 12.4 使用Docker方式发布微服务
- 12.5 使用Docker部署日志分析平台
- 12.6 基于Docker的高级部署工具
- 12.7 小结
- 第13章 可扩展分布式数据库集群的搭建
- 13.1 MySQL集群主机分配
- 13.2 主从同步设置
- 13.3 主主同步设置
- 13.4 数据库代理中间件选择
- 13.5 使用OneProxy实现读写分离设计
- 13.6 OneProxy分库分区设计
- 13.7 双机热备设计
- 13.8 小结
- 第14章 高可用分布式文件系统的组建
- 14.1 FastDFS架构
- 14.2 FastDFS的安装
- 14.3 跟踪服务器配置
- 14.4 存储节点配置
- 14.5 上传文件测试
- 14.6 Nginx的安装及负载均衡配置
- 14.7 开机启动
- 14.8小结
- 第15章 使用Jenkins实现自动化构建
- 15.1 持续交付工作流程
- 15.2 Jenkins的安装
- 15.3 Jenkins的基本配置
- 15.4 Jenkins的自动部署实例
- 15.5 小结
- 后记
- 参考文献
FAQ
Which version of Spring Cloud is the code in this book based on?
How much prior knowledge is needed to study this book?
What are the features of this book compared with similar Spring Cloud books?
Related on WeRead
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Chen Shaojian is an author active in the field of programming and design. Publicly available information about him is limited, and no complete personal biography is currently available for introduction. Judging from the two works included in the collection, his writing centers on microservice architecture within the Java ecosystem. His representative books include Spring Cloud and Docker High-Concurrency Microservice Architecture Design and Implementation and Spring Cloud Microservice Architecture in Practice. Both books take Spring Cloud as their core, combine containerized deployment with high-concurrency scenarios, and discuss design approaches and engineering practices for microservice systems. The content is practice-oriented and aimed at developers who wish to apply these technologies to real projects. His choice of topics follows the technical needs of enterprise-level development and offers reference value for learning about and implementing microservice architecture.