210663004
By dividing large applications into separate self-contained units, Microservices are a great step toward reducing complexity and increasing flexibility. Spring Microservices in Action, Second Edition teaches you how to build microservice-based applications using Java and the Spring platform. This second edition is fully updated for the latest version of Spring, with expanded coverage of API routing with Spring Cloud Gateway, logging with the ELK stack, metrics with Prometheus and Grafana, security with the Hashicorp Vault, and modern deployment practices with Kubernetes and Istio. about the technologyMicroservices break up your code into independent interconnected services that require careful forethought and design. Fortunately, Spring Boot, Spring Cloud, and Spring Cloud Gateway simplify the tedious plumbing and infrastructure setup required for microservice applications. Spring Boot removes the boilerplate code involved with writing a REST-based service. Spring Cloud provides a suite of tools for the discovery, routing, and deployment of microservices to the enterprise and the cloud. Spring Cloud Gateway provides a clear and effective routing to APIs, with a single entry point into a system. Together, they make it a snap to spin up Spring applications as microservices and wire them together into a reliable, scalable system. about the bookFully updated and upgraded for the latest version of Spring, Spring Microservices in Action, Second Edition is an expanded revision of a Manning bestseller. In it, you'll learn how to build microservice-based applications using Java and the Spring platform and how to efficiently monitor and log your microservices operations. Throughout the book, carefully selected real-life examples expose microservice-based patterns for configuring, routing, scaling, and deploying your services. You'll see how Spring's intuitive tooling can help augment and refactor existing applications with microservices and how Spring Cloud Gateway makes it easy to handle multiple APIs with a single tool. You'll also pick up best practices for using Spring with modern deployment platforms based on Kubernetes and Istio. what's inside Core microservice design principlesMicroservices best practicesUsing docker containers to run microservicesManaging configuration with Spring Cloud Config and Hashicorp Vault for sensitive informationClient-side resiliency with Hystrix, and RibbonManaging application metrics with Prometheus and GrafanaIntelligent routing using Spring Cloud GatewayDistributed tracing with Spring Cloud Sleuth, Zipkin and ELK StackDeploying Spring Cloud applications with Kubernetes and Istio about the readerThis book is written for developers with Java and Spring experience. about the authors John Carnell is a senior cloud engineer with twenty years of experience in Java. Illary Huaylupo Sanchez is a software engineer with an MBA in IT management and over twelve years of experience in Java.