sony/gobreaker
Circuit Breaker implemented in Go observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 66
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4114
- days_rel: n/a
- days_push: 207
- n_releases_24m: 0
Adoption not part of the score
3687 stars · 225 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
gobreaker is a Go library implementing the Circuit Breaker pattern as a generic, configurable state machine. It prevents sending requests likely to fail by tracking failures and toggling between closed, open, and half-open states.
Use cases
- prevent cascading failures when a downstream service is down
- wrap HTTP calls to flaky external APIs with a circuit breaker
- stop hammering a failing database with requests
- add resilience patterns to Go microservices
- monitor service health via circuit breaker state change callbacks
- apply rolling-window failure counting to trip circuits
When to choose
- you write Go services that call unreliable network dependencies
- you need a small, focused, well-maintained circuit breaker library
- you want configurable trip conditions, exclusion rules, and state change hooks
When to avoid
- you need full resilience suites with retries, timeouts, and bulkheads (use something like resilience4j-style tooling)
- your project is not in Go
- you need distributed circuit breaker state shared across instances
Facets
library · maturity stable
middleware error-handling concurrency microservices backend developer-tools go cross-platform circuit-breaker resilience fault-tolerance reliability state-machine
1 source
- readme: https://github.com/sony/gobreaker · fetched 2026-08-28 · 7d8b1a9210f8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sony/gobreaker | main | 62 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem