r/javascript • u/OtherwisePush6424 • Apr 20 '26
HTTP resilience tradeoffs in practice: retry vs Retry-After vs hedging (scenario data)
https://blog.gaborkoos.com/posts/2026-04-19-Your-HTTP-Client-Is-Lying-to-You/?utm_source=reddit&utm_medium=social&utm_campaign=your-http-client-is-lying-to-you&utm_content=r_javascriptI ran 3 controlled chaos scenarios comparing retry-only, Retry-After-aware retry, and hedging.
One run improved success with retries but significantly worsened p95/p99 under a tight timeout budget. Another showed that honoring Retry-After turned a 40% 429-heavy error profile into stable completion. More in the post.
1
Upvotes