Jump to ratings and reviews
Rate this book

Microservices with Spring Boot and Spring Cloud: Build resilient and scalable microservices using Spring Cloud, Istio, and Kubernetes, 2nd Edition

Rate this book
Create and deploy production-quality microservices-based applications ― New edition updated for the smooth running of Spring, Java, Kubernetes, and Istio, with an introduction to Helm 3 and support for Mac and Windows with WSL2 Want to build and deploy microservices, but don't know where to start? Welcome to Microservices with Spring Boot and Spring Cloud. This edition features the most recent versions of Spring, Java, Kubernetes, and Istio, demonstrating faster and simpler handling of Spring Boot, local Kubernetes clusters, and Istio installation. The expanded scope includes native compilation of Spring-based microservices, support for Mac and Windows with WSL2, and an introduction to Helm 3 for packaging and deployment. A revamped security chapter now follows the OAuth 2.1 specification and makes use of the newly launched Spring Authorization Server from the Spring team. You'll start with a set of simple cooperating microservices, then add persistence and resilience, make your microservices reactive, and document their APIs using OpenAPI. Next, you'll learn how fundamental design patterns are applied to add important functionality, such as service discovery with Netflix Eureka and edge servers with Spring Cloud Gateway. You'll deploy your microservices using Kubernetes and adopt Istio, then explore centralized log management using the Elasticsearch, Fluentd, and Kibana (EFK) stack, and then monitor microservices using Prometheus and Grafana. By the end of this book, you'll be building scalable and robust microservices using Spring Boot and Spring Cloud. If you're a Java or Spring Boot developer learning how to build microservice landscapes from scratch, then this book is for you. You don't need any prior knowledge about microservices architecture to get started, but a solid grasp and enough experience in Java and Spring Boot to build apps autonomously is a must. (N.B. Please use the Look Inside option to see further chapters)

774 pages, Paperback

Published July 29, 2021

25 people are currently reading
19 people want to read

About the author

Magnus Larsson

13 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
5 (71%)
4 stars
1 (14%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
1 (14%)
Displaying 1 of 1 review
Profile Image for Yaroslav Brahinets.
118 reviews4 followers
December 6, 2023
A fantastic overview of modern web development using lightweight, scalable microservices on Java, based on the Spring Framework ecosystem, with Kubernetes on top. Each chapter is supplemented by great examples (available on GitHub here). Do you remember the Eight fallacies of distributed computing ?:

1. The network is reliable
2. Latency is zero
3. Bandwidth is infinite
4. The network is secure
5. Topology doesn't change
6. There is one administrator
7. Transport cost is zero
8. The network is homogeneous

There are many challenges and pitfalls here. Wanna be safe? Be honest, have you ever tried to implement your own homemade supercool version of a load-balancer, or maybe experienced cascade failures, debugged distributed configuration, or had luck of monitoring and logging? There are numerous tools in the modern world for that, and the author provides an overview of one of the most popular ones. Of course, you can easily find information online, but the main value of the book - it is really hands-on, it guides you step by step, and in the end, you have a robust and comprehensive set that works together, that helps to be much more confident. Moreover, the author not only provides solutions but also elegantly discusses the problems and fallacies, pros and cons. So the reader not only learn the tool but also become aware of potential issues with this tool. As they say, "forewarned is forearmed".

Definitely worth reading and highly recommended. Check out the latest edition (3rd one, as of the review date, December 6th, 2023) and good luck in your work!
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.