Resilience4clj is a lightweight fault tolerance set of libraries built on top of GitHub's Resilience4j and inspired by Netflix Hystrix. It was designed for Clojure and functional programming with composability in mind.
The three core benefits of Resilience4clj are:
Resiliency is the ability to recover from failures and continue to function. It is not about avoiding failures but accepting the fact that failures will happen and responding to them in a way that avoids downtime or data loss. The goal of resiliency is to return the application to a fully functioning state after a failure.
Building resilient systems requires inculcating a strong sense of acceptance of failures to the team since the very first day of a project. The team will need to create solutions to make sure that the system either recovers from failures or that it still functions despite ongoing failures.
Some of these potential failures may involve lost computing or data nodes, inaccessible clusters, network losses, among many other. Sometimes there are ripple effects due to natural latency of the involved dependencies.
Most complex systems have several (sometimes hundreds) points of access to remote systems, services, APIs, and 3rd party libraries. Any one (or many) of these may fail or be slow to respond. In order to reach a level of acceptable resilience it is important to isolate these issues and stop cascading them through the bigger system.
Resilience4clj enables resilience in complex distributed systems where failure is inevitable.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close