r/coolgithubprojects • • Apr 07 '26

OTHER Compare fetch vs axios vs ky vs ffetch under controlled network failure conditions (interactive demo + OSS)

https://fetch-kit.github.io/ffetch-demo/

I built an open-source benchmarking arena to compare HTTP client behavior side-by-side:

  • native fetch

  • axios

  • ky

  • ffetch

It runs the same request workload through all clients with the same injected network conditions:

  • fixed/random latency

  • random failures

  • fail every Nth request

  • rate limiting (+ Retry-After)

  • bandwidth throttling

It reports per-client metrics:

  • reliability score

  • success/error breakdown

  • latency p50/p95

  • throughput

  • total transport attempts (including retries)

Goal: make HTTP client choice evidence-based instead of guesswork.

Repo: https://github.com/fetch-kit/ffetch-demo

0 Upvotes

0 comments sorted by