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.
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.
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.
The default PickFirst policy silently selects one server and ignores the rest—causing uneven load and hidden failure risks in multi-instance gRPC deployments.
Learn how to implement a minimal OpenTelemetry Collector sidecar in Kubernetes to handle OTLP trace ingestion, probabilistic sampling, and batch exporting to Jaeger.
Select unary, server-streaming, client-streaming, or bidirectional gRPC for sensor batch ingestion with backpressure on unreliable networks.