What Is a Retry Policy in a Service Mesh?
A retry policy in a service mesh tells the sidecar to retry a failed request a bounded number of times when it meets retry conditions such as connection failures or specific status codes. It can add per-try timeouts and backoff so retries do not pile up. The retries happen in the proxy, so application code stays simple.
Why it matters
Automatic retries smooth over transient failures without callers writing retry loops. Set too aggressively, though, they can amplify load on an already-struggling backend.
Related guides
What Is a Timeout Policy?A timeout policy sets the maximum time a proxy will wait for a backend response before giving up and returnin…
What Is Circuit Breaking in a Service Mesh?Mesh circuit breaking caps concurrent connections and pending requests to a service so an overloaded backend…
What Is a Virtual Service?A virtual service defines routing rules in a mesh, matching requests by attributes like path or header and di…