HTTP-level resilience (retries)?

61 views
Skip to first unread message

Leon Lindeberg

unread,
Jul 11, 2025, 11:55:05 AM7/11/25
to grpc.io
Hi! Should gRPC clients implement an HTTP-level resilience handler to retry HTTP 5xx/429? Or should those responses make sure to return a gRPC status code so that the gRPC RetryPolicy handles it instead?

Eric Anderson

unread,
Jul 16, 2025, 10:54:47 AM7/16/25
to le...@lindeberg.io, grpc.io
HTTP 429, 502, 503, 504 get mapped to UNAVAILABLE, for the retry policy to observe.

https://github.com/grpc/grpc/blob/master/doc/http-grpc-status-mapping.md

On Fri, Jul 11, 2025 at 8:55 AM Leon Lindeberg <le...@lindeberg.io> wrote:
Hi! Should gRPC clients implement an HTTP-level resilience handler to retry HTTP 5xx/429? Or should those responses make sure to return a gRPC status code so that the gRPC RetryPolicy handles it instead?

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/grpc-io/1559e628-c678-40d4-888b-bfdce3ac0f74n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages