rubyist/circuitbreaker
Circuit Breakers in Go observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4430
- days_rel: n/a
- days_push: 840
- n_releases_24m: 0
Adoption not part of the score
1164 stars · 112 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library implementing the Circuit Breaker pattern for wrapping remote calls. It trips after failures, timeouts, consecutive failures, or error rates, and emits breaker events for monitoring.
Use cases
- prevent cascading failures from slow remote calls
- trip a breaker after N failed HTTP requests
- add timeouts to remote calls that count as failures
- trip based on consecutive failures
- trip based on error rate over a sample window
- monitor breaker state changes via events
When to choose
- you make remote calls in Go and want fail-fast behavior
- you need threshold, consecutive, or rate-based breaker strategies
- you want breaker events for metrics and alerting
When to avoid
- you need retries, backoff, and load balancing in one package
- you're not using Go
- you need a full service mesh or proxy-level resilience solution
Facets
library · maturity stable
middleware error-handling concurrency developer-tools microservices backend go circuit-breaker fault-tolerance resilience remote-calls rate-breaker
1 source
- readme: https://github.com/rubyist/circuitbreaker · fetched 2026-08-28 · 42470b9bacaa
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rubyist/circuitbreaker | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="rubyist/circuitbreaker")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem