Spring Boot Intermediate Microservices: Resilient Microservices with Spring Boot 2 and Spring Cloud (Brief books for developers) (Volume 3)

Learn to build a resilient microservice infrastructure using proven patterns with Spring Boot 2 and Spring CloudResilience and fault tolerance are a must, or your system will fall apart. Our guides give you brief lessons on a single topic to get you started in no time. We leave the fluff out so you can focus and learn better and fast In this guide, we will build a tiny web application using the microservice we created in "Spring Boot: How To Get Started and Build a Microservice" and expand the scenario with common microservice patterns for building a reliable fault-tolerant infrastructure. You can follow along without having read the previous book. You learn best by coding. The way I love learning too. We use Spring Boot 2 with the Milestone 2. What you will build: We will write a simple web client application for our microservice and improve it with each step to handling load balancing, failovers, service discovery and more. In each stage, we implement one pattern and discuss its advantages and disadvantages. At the end of the book, you will have an understanding of what the patterns solve and how to implement them in Spring Boot. What you will learn:How to access a remote API with Spring's RestTemplateHow to do retries and fallbacks in case of API errorsHow to add client side load balancing to itHow to use the circuit breaker pattern with Spring CloudHow to register and discover servicesWhat the role of a gateway isHow you can easily add a gatewayHow to store configurations in a central place You must have experience with developing in Java and should have some knowledge of Spring Boot. If you are new to Spring Boot, check out the first guide to get started. If you have questions, do not hesitate to contact me using the email address at the end of the book. I'll answer your questions and improve the book with your feedback. Promised!

Author: Jens Boje

Learn more