Advanced Retry Policies #902
Closed
abdallahsamabd
started this conversation in
Ideas
Replies: 1 comment
|
maintainer +1 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Advanced Retry Policies (#107)
Problem
Praxis currently only retries on TCP connect failures — hardcoded max 3 attempts against the same endpoint, idempotent methods only (GET/HEAD/OPTIONS), 64 KiB body cap. This is insufficient for modern distributed systems where transient failures are common during rolling deploys, GC pauses, or downstream overload.
When a backend returns 503 during a rolling update, healthy replicas exist but the proxy forwards the error directly to the client. Operators are forced to push retry logic into every client application.
Proposal
Extend the retry mechanism to support configurable, policy-driven retries at the cluster and route level:
Related:
Example configuration (aspirational)
All reactions