Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.09 KB

README.md

File metadata and controls

20 lines (13 loc) · 1.09 KB

circuit - Circuit Breaker for Scala Maven Central

The CircuitBreaker is used to provide stability and prevent cascading failures in distributed systems.

Quick Start

To use circuit in an existing SBT project with Scala 2.11 or a later version, add the following dependencies to your build.sbt depending on your needs:

libraryDependencies ++= Seq(
  "io.chrisdavenport" %% "circuit" % "<version>"
)

Credits

This data type was inspired by the availability of Akka's Circuit Breaker and ported to cats-effect from Monix and when its merger halted there, it was moved to circuit. The initial implementation and port by Alexandru Nedelcu and Oleg Pyzhcov was what enabled this ref based version to exist.