6 Resilient communication
This chapter covers
- Tips and tricks for how to use retry and timeout for gRPC communication
- Using circuit breakers for interservice communication to have better resiliency
- Error handling during service communications
- Securing interservice communication with TLS configuration
In a typical monolithic application, any critical error can bring the entire system down because all the application components live in one shared runtime. Once you switch to microservice architecture, those components are decoupled by extracting to separate services, but this distributed system environment has its own disadvantages. For this reason, microservices should be designed for resiliency and always be fault tolerant. Let’s look at the ...
Get gRPC Microservices in Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.