gRPC & RPC

gRPC Retry Policy

A declarative configuration in gRPC service config specifying which status codes are retryable, max attempts, backoff parameters, and retry throttling. Retries are only safe for idempotent RPCs and must be limited to avoid amplifying load on a struggling backend. The retry policy can be set in a JSON service config pushed from a name resolver or hardcoded in the channel configuration. Hedging is an alternative that sends speculative parallel requests.

โปรโตคอลที่เกี่ยวข้อง

ดูเพิ่มเติม