Menu

Post image 1
Post image 2
1 / 2
0

Built a Production-Grade TypeScript Retry Utility — resilient-ts

DEV Community·Debshankar Dey·23 days ago
#6502vWGx
#api#node#showdev#typescript#retry#resilient
Reading 0:00
15s threshold

Debshankar Dey

I built resilient-ts

A TypeScript retry utility for flaky APIs, rate limits, and unstable async operations.

Started as a learning project and evolved into something focused on real production retry scenarios.

Features

  • Exponential / linear / fixed backoff
  • Jitter strategies (including decorrelated jitter)
  • Retry-After header support
  • Per-attempt + total timeouts
  • AbortSignal support
  • Conditional retry logic
  • Structured logging hooks

Tested Against

  • 429 rate limits
  • 503 temporary failures
  • Socket resets
  • Hanging requests
  • 50 concurrent retry events

Would love feedback from Node.js / TypeScript developers.

Links

Read More