r/javascript • u/OtherwisePush6424 • Apr 05 '26
Compare HTTP Client Reliability Under Chaos – Interactive Benchmark
https://fetch-kit.github.io/ffetch-demo/Built a live benchmarking tool to pit fetch, axios, ky, and ffetch against each other under identical chaos conditions. Helps you understand:
- How retries work across different libraries
- Timeout behavior differences
- Error recovery patterns
- Real-world reliability under network stress
Each client runs independently with isolated transport stats. You can tweak concurrency, request count, and chaos rules (latency, failures, rate limits) and see live results.
Perfect for:
- Picking the right HTTP client for your project
- Understanding why one library might be more resilient than another
- Learning how retry strategies actually work in practice
2
Upvotes
View all comments
Show parent comment
1
u/OtherwisePush6424 Apr 06 '26
Thanks, really glad the chaos angle resonated!
The arena already supports everything you described. You can set high failure rate, enable retries, maybe crank concurrency, and watch the upstream fetch call count diverge from the requested count as retries amplify. The circuit breaker panel is there for ffetch too: once it trips, subsequent requests short-circuit with a
CircuitOpenErrorinstead of hammering the backend.On jitter: ffetch has
expo-jitteras a built-in retry mode (full-jitter strategy, the one from the AWS Jeff Barr post), with a configurable base delay. It's the default, and there's a retry mode dropdown in the arena to switch betweenexpo-jitterandfixed.I know the UI is probably not the most comprehensive, but a lot can be configured :)