Bounding gRPC Latency with Deadline Propagation and Cancellation
Learn how gRPC deadlines and server-side context cancellation prevent cascading failures in microservice architectures, with a practical Go example and verification steps.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how gRPC deadlines and server-side context cancellation prevent cascading failures in microservice architectures, with a practical Go example and verification steps.
gRPC deadlines propagate through RPC metadata; when they expire, in-flight RPCs cancel with ABORTED. Learn how to diagnose and fix premature aborts.
Centralize request authorization at the edge with Envoy's ext_authz filter and a gRPC authorization service. Learn the minimal design, trust boundaries, and operational checks.
Idle gRPC connections are frequently terminated by NAT gateways and load balancers before the next RPC runs. Enabling HTTP/2 keepalive pings on both client and server detects dead transports early, but the interval must be tuned against intermediary idle timeouts and server ping-rate enforcement.
Why HTTP/2 flow control is not enough for gRPC bidirectional streams, and how to add credit-based backpressure without OOMing your server.
Envoy's global rate limiting uses a separate gRPC Rate Limit Service (RLS) to enforce quotas across proxy fleets. This post walks through the descriptor model, a minimal Envoy+RLS config, and the latency/failure trade-offs you'll face in production.
Ballerina’s native gRPC connector turns a single .proto file into fully typed client and server stubs, eliminating boilerplate and keeping your service definition in sync with the API contract. Learn how to generate, implement, and test a gRPC service in minutes.
gRPC per-RPC deadlines propagate across service boundaries, letting you bound latency and cancel work end-to-end. This blog shows how to enforce defaults with interceptors, avoid cascade failures, and verify the behavior in production.
When instrumenting Java services with OpenTelemetry, choosing between gRPC and HTTP/1.1 OTLP exporters boils down to latency, infrastructure, and operational simplicity. This guide compares both transports, explains trade‑offs, and shows concrete Java code to validate your choice.