coverpage
Spring Microservices
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Demystifying Microservices
The evolution of microservices
What are microservices?
Microservices – the honeycomb analogy
Principles of microservices
Characteristics of microservices
Microservices examples
Microservices benefits
Relationship with other architecture styles
Microservice use cases
Summary
Chapter 2. Building Microservices with Spring Boot
Setting up a development environment
Developing a RESTful service – the legacy approach
Moving from traditional web applications to microservices
Using Spring Boot to build RESTful microservices
Getting started with Spring Boot
Developing the Spring Boot microservice using the CLI
Developing the Spring Boot Java microservice using STS
Developing the Spring Boot microservice using Spring Initializr – the HATEOAS example
What's next?
The Spring Boot configuration
Changing the default embedded web server
Implementing Spring Boot security
Enabling cross-origin access for microservices
Implementing Spring Boot messaging
Developing a comprehensive microservice example
Spring Boot actuators
Configuring application information
Adding a custom health module
Documenting microservices
Summary
Chapter 3. Applying Microservices Concepts
Patterns and common design decisions
Microservices challenges
The microservices capability model
Summary
Chapter 4. Microservices Evolution – A Case Study
Reviewing the microservices capability model
Understanding the PSS application
Death of the monolith
Microservices to the rescue
The business case
Plan the evolution
Migrate modules only if required
Target architecture
Target implementation view
Summary
Chapter 5. Scaling Microservices with Spring Cloud
Reviewing microservices capabilities
Reviewing BrownField's PSS implementation
What is Spring Cloud?
Setting up the environment for BrownField PSS
Spring Cloud Config
Feign as a declarative REST client
Ribbon for load balancing
Eureka for registration and discovery
Zuul proxy as the API gateway
Streams for reactive microservices
Summarizing the BrownField PSS architecture
Summary
Chapter 6. Autoscaling Microservices
Reviewing the microservice capability model
Scaling microservices with Spring Cloud
Understanding the concept of autoscaling
Autoscaling approaches
Autoscaling BrownField PSS microservices
Summary
Chapter 7. Logging and Monitoring Microservices
Reviewing the microservice capability model
Understanding log management challenges
A centralized logging solution
The selection of logging solutions
Monitoring microservices
Data analysis using data lakes
Summary
Chapter 8. Containerizing Microservices with Docker
Reviewing the microservice capability model
Understanding the gaps in BrownField PSS microservices
What are containers?
The difference between VMs and containers
The benefits of containers
Microservices and containers
Introduction to Docker
Deploying microservices in Docker
Running RabbitMQ on Docker
Using the Docker registry
Microservices on the cloud
Running BrownField services on EC2
Updating the life cycle manager
The future of containerization – unikernels and hardened security
Summary
Chapter 9. Managing Dockerized Microservices with Mesos and Marathon
Reviewing the microservice capability model
The missing pieces
Why cluster management is important
What does cluster management do?
Relationship with microservices
Relationship with virtualization
Cluster management solutions
Cluster management with Mesos and Marathon
Implementing Mesos and Marathon for BrownField microservices
A place for the life cycle manager
The technology metamodel
Summary
Chapter 10. The Microservices Development Life Cycle
Reviewing the microservice capability model
The new mantra of lean IT – DevOps
Meeting the trio – microservices DevOps and cloud
Practice points for microservices development
Microservices development governance reference architectures and libraries
Summary
Index
更新时间:2021-07-02 16:28:55