davenverse / circuit   0.5.1

Apache License 2.0 Website GitHub

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

Scala versions: 3.x 2.13 2.12 2.11
Scala.js versions: 1.x
Scala Native versions: 0.4

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.