Book description
In a microservices architecture, the whole is indeed greater than the sum of its parts. But in practice, individual microservices can inadvertently impact others and alter the end user experience. Effective microservices architectures require standardization on an organizational level with the help of a platform engineering team.
This practical book provides a series of progressive steps that platform engineers can apply technically and organizationally to achieve highly resilient Java applications. Author Jonathan Schneider covers many effective SRE practices from companies leading the way in microservices adoption. You’ll examine several patterns discovered through much trial and error in recent years, complete with Java code examples.
Chapters are organized according to specific patterns, including:
- Application metrics: Monitoring for availability with Micrometer
- Debugging with observability: Logging and distributed tracing; failure injection testing
- Charting and alerting: Building effective charts; KPIs for Java microservices
- Safe multicloud delivery: Spinnaker, deployment strategies, and automated canary analysis
- Source code observability: Dependency management, API utilization, and end-to-end asset inventory
- Traffic management: Concurrency of systems; platform, gateway, and client-side load balancing
Publisher resources
Table of contents
- Foreword
- Preface
- 1. The Application Platform
-
2. Application Metrics
- Black Box Versus White Box Monitoring
- Dimensional Metrics
- Hierarchical Metrics
- Micrometer Meter Registries
- Creating Meters
- Naming Metrics
- Classes of Meters
- Gauges
- Counters
-
Timers
- “Count” Means “Throughput”
- “Count” and “Sum” Together Mean “Aggregable Average”
- Maximum Is a Decaying Signal That Isn’t Aligned to the Push Interval
- The Sum of Sum Over an Interval
- The Base Unit of Time
- Using Timers
- Common Features of Latency Distributions
- Percentiles/Quantiles
- Histograms
- Service Level Objective Boundaries
- Distribution Summaries
- Long Task Timers
- Choosing the Right Meter Type
- Controlling Cost
- Coordinated Omission
- Load Testing
- Meter Filters
- Separating Platform and Application Metrics
- Partitioning Metrics by Monitoring System
- Meter Binders
- Summary
- 3. Debugging with Observability
- 4. Charting and Alerting
- 5. Safe, Multicloud Continuous Delivery
- 6. Source Code Observability
- 7. Traffic Management
- Index
Product information
- Title: SRE with Java Microservices
- Author(s):
- Release date: September 2020
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492073925
You might also like
book
Enterprise Java Microservices
Enterprise Java Microservices is an example-rich tutorial that shows how to design and manage large-scale Java …
book
DevOps Tools for Java Developers
With the rise of DevOps, low-cost cloud computing, and container technologies, the way Java developers approach …
book
Spring Microservices in Action, Second Edition
By dividing large applications into separate self-contained units, Microservices are a great step toward reducing complexity …
book
Practical Microservices Architectural Patterns: Event-Based Java Microservices with Spring Boot and Spring Cloud
Take your distributed applications to the next level and see what the reference architectures associated with …