Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
As far as I know most circuit breakers are not a stand alone process, but either part of a service mesh like istio https://istio.io/latest/docs/tasks/traffic-management/circuit-breaking/ or part of the service. Spring for example has an abstraction called Spring Cloud Circuit breaker https://spring.io/projects/spring-cloud-circuitbreaker . There are several implementations in Go, e.g. https://github.com/sony/gobreaker or https://github.com/mercari/go-circuitbreaker
As far as I know most circuit breakers are not a stand alone process, but either part of a service mesh like istio https://istio.io/latest/docs/tasks/traffic-management/circuit-breaking/ or part of the service. Spring for example has an abstraction called Spring Cloud Circuit breaker https://spring.io/projects/spring-cloud-circuitbreaker . There are several implementations in Go, e.g. https://github.com/sony/gobreaker or https://github.com/mercari/go-circuitbreaker
The book Cloud Native Go https://www.oreilly.com/library/view/cloud-native-go/9781492076322/ also has an implementation in it. Here you can find the code https://github.com/cloud-native-go/examples/tree/main/ch04