# afex/hystrix-go

Netflix's Hystrix latency and fault tolerance library, for Go

Repository: https://github.com/afex/hystrix-go
Canonical: https://ross.abutalabs.com/products/hystrix-go
Language: Go
License: MIT
License Family: permissive
Last push: 2024-02-24T18:44:10+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4644, "days_push": 921, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4399, forks 482 (observed 2026-08-28T04:08:48.245665+00:00)

## What it is
A Go port of Netflix's Hystrix latency and fault tolerance library. It lets developers wrap calls to remote systems in commands with timeouts, circuit breaking, and programmer-defined fallbacks to prevent cascading failures.

## Use cases
- add circuit breakers to Go service calls
- prevent cascading failures in distributed systems
- define fallback behavior when downstream services are down
- apply timeouts and health checks to remote calls
- isolate access to third-party APIs in Go

## When to choose
- you want Hystrix-style resilience patterns in a Go application
- your service depends on remote systems that can fail or be slow
- you need graceful degradation via fallback functions

## When to avoid
- you are starting a new project and can use actively maintained alternatives like sony/gobreaker or failsafe-go
- you need the full Java Hystrix feature set or dashboard integration
- your application is single-process with no remote dependencies

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, middleware, rate-limiting, monitoring
- domain: microservices, backend, developer-tools
- platform: go, cross-platform
- tags: circuit-breaker, fault-tolerance, resilience, hystrix, fallbacks, bulkhead

## Member repositories
- afex/hystrix-go (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:48.245665+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:08.958154+00:00, confidence not recorded.
  - readme: https://github.com/afex/hystrix-go (fetched 2026-08-28T04:08:48.245665+00:00, sha 98954d619aa5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
