Spring Cloud and Docker Microservice Architecture in Action
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Java 与 Spring Boot 基础、想入门微服务的后端工程师
- 需要为团队做微服务技术选型与架构设计的技术负责人和架构师
- 希望把 Java 应用容器化、补齐部署链路的运维与 DevOps 人员
- 正在准备微服务相关面试、需要一套完整实践脉络的求职者
Not a good fit for
- 完全没有 Java/Spring 基础的编程零基础读者,前置门槛较高
- 只想学 Python、Go 等非 JVM 技术栈微服务方案的读者
- 需要最新版本 Spring Cloud 与云原生(Kubernetes)方案、且不愿自行迁移代码的读者
Reading tips
- 先读第 1 至 2 章建立微服务的整体图景与组件地图,再进入代码章节,避免只见树木不见森林。
- 务必手敲书中“电影售票系统”案例,配套代码可在 GitHub 获取,边跑边改比只看不动手有效得多。
- 动手前先核对当前 Spring Cloud/Spring Boot 的版本兼容关系,书中版本较旧,依赖与配置需按新版调整。
- 把第 11 章的常见问题当作排错清单,遇到注册失败、监控数据缺失、首次调用超时等问题时优先回查。
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
- Chapter 1 Overview of Microservice Architecture
- 1.1 Problems with Monolithic Application Architecture
- 1.2 How to Solve the Problems of Monolithic Application Architecture
- 1.3 What Are Microservices
- 1.4 Advantages and Challenges of Microservice Architecture
- 1.5 Microservice Design Principles
- 1.6 How to Implement a Microservice Architecture (Technology Selection, Architecture Diagrams, and Common Components)
- Chapter 2 The Microservice Development Framework: Spring Cloud
- 2.1 Introduction to Spring Cloud
- 2.2 Features of Spring Cloud
- 2.3 Spring Cloud Versions (Version Overview, Sub-project List, Spring Cloud/Spring Boot Version Compatibility)
- Chapter 3 Getting Started with Spring Cloud for Microservices in Practice
- 3.1 Prerequisites for Spring Cloud in Practice (Technical Background, Tools, and Software Versions)
- 3.2 Service Providers and Service Consumers
- 3.3 Writing a Service Provider
- 3.4 Writing a Service Consumer
- 3.5 Integrating Spring Boot Actuator into the Project
- 3.6 What Are the Problems with Hard Coding
- Chapter 4 Microservice Registration and Discovery
- 4.1 Introduction to Service Discovery
- 4.2 Introduction to Eureka
- 4.3 How Eureka Works
- 4.4 Writing a Eureka Server
- 4.5 Registering Microservices with a Eureka Server
- 4.6 High Availability for Eureka Server
- 4.7 Adding User Authentication to Eureka Server
- 4.8 Eureka Metadata
- 4.9 REST Endpoints of Eureka Server
- 4.10 Eureka's Self-Preservation Mode
- 4.11 Choosing an IP in a Multi-NIC Environment
- 4.12 Eureka Health Checks
- Chapter 5 Client-Side Load Balancing with Ribbon
- 5.1 Introduction to Ribbon
- 5.2 Integrating Ribbon into the Service Consumer
- 5.3 Customizing Ribbon Configuration with Java Code
- 5.4 Customizing Ribbon Configuration with Properties
- 5.5 Using Ribbon Without Eureka
- Chapter 6 Declarative REST Calls with Feign
- 6.1 Introduction to Feign
- 6.2 Integrating Feign into the Service Consumer
FAQ
这本书需要什么基础才能读懂?
初版和第 2 版有什么区别,该买哪本?
书里的技术栈现在过时了吗?
配套代码在哪里获取?
这本书讲 Docker 的部分够用吗?
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
Zhou Li is an author whose signed works span a notably wide range of subjects. Public information about him is limited, and no clear records of his nationality, birth and death dates, or educational background are available. Four of his works are held in the collection, covering categories such as society and culture, programming and design, and politics. On one hand, he co-authored the two-volume Analysis Report on County-Level Economic Operation in Henan Province, focusing on local economies and regional development. On the other, he wrote Spring Cloud and Docker Microservice Architecture in Practice (2nd Edition), demonstrating practical experience with Java microservices and containerization. He has also contributed to research on international strategy and cooperation, as seen in the Collected Research Papers of the China-UK "Belt and Road" Strategic Cooperation Forum. Overall, his writing combines technical practice with economic and social analysis, addresses professional readers, and emphasizes documentary organization and practical application.