resilience 0.1.0 copy "resilience: ^0.1.0" to clipboard
resilience: ^0.1.0 copied to clipboard

Retry with backoff and jitter, circuit breaker, timeout, rate limiter, and bulkhead policies for reliable async operations. Zero dependencies.

0.1.0 #

Initial release.

  • Retry with Backoff.none, Backoff.fixed, and Backoff.exponential (factor, cap, and jitter), plus retryIf and onRetry hooks.
  • CircuitBreaker with consecutive failure threshold, lazy reset timeout, single half-open trial, countAs filter, and onStateChange hook.
  • Timeout built on Future.timeout.
  • RateLimiter: token bucket with steady refill, FIFO waiting, an optional queue bound, and dispose.
  • Bulkhead: concurrency limit with a bounded FIFO queue.
  • ResiliencePipeline for composing policies, outermost first.
0
likes
0
points
869
downloads

Publisher

verified publisherdeveloperyusuf.com

Weekly Downloads

Retry with backoff and jitter, circuit breaker, timeout, rate limiter, and bulkhead policies for reliable async operations. Zero dependencies.

Repository (GitHub)
View/report issues

Topics

#retry #circuit-breaker #resilience #rate-limiting #fault-tolerance

License

unknown (license)

More

Packages that depend on resilience