Use and like this library? Consider sponsoring its ongoing development and maintenance
rezilience
is a ZIO-native collection of policies for making asynchronous systems more resilient to failures.
It is inspired by Polly, Resilience4J and Akka.
It consists of these policies:
CircuitBreaker
Bulkhead
RateLimiter
Retry
Timeout
rezilience
policies are encoded in the method signatures, so no unexpected RuntimeExceptions.E
in ZIO[R, E, A]
) instead of requiring your effects to have Exception
as error typerezilience
uses only ZIO fibers and will not create threads or blockZManaged
, any allocated resources are cleaned up safely after use. rezilience
policies are handled properly.Schedule
s and rezilience
tries to help type inference using variance annotationsFurther questions? Look for the #rezilience
channel on the ZIO Discord: https://discord.gg/2ccFBr4
Add to your build.sbt:
libraryDependencies += "nl.vroste" %% "rezilience" % "<version>"
If you are using this library and find it useful, please consider adding your company or project to the list below!