Half-open state
A half-open state is a circuit-breaker state that permits a limited number of requests to test whether a previously failing dependency has recovered.
Grokking Software Architecture
A circuit-breaker state that allows limited test calls to determine whether a failed dependency has recovered.
- How it is used
- Uses a cautious recovery probe to decide whether a failed payment dependency can return to normal traffic.
- How deep it goes
- Traces the cooldown, single-request probe, and success or failure transitions, while deferring implementation tools.
- Examples
- Uses a Payment API test ping and a FlakyPayments Black Friday scenario to illustrate recovery checks and cooldown choices.
- What you can do after
- Apply the state by choosing a cooldown and reasoning about the test ping’s result; exact timing remains a deliberate design choice.
Read how Grokking Software Architecture explains half-open state →
gRPC Microservices in Go
A circuit-breaker operating state in which a limited number of requests are allowed to test whether a dependency has recovered.
- How it is used
- Controls dependency recovery probes after a circuit breaker stops sending requests.
- How deep it goes
- Explains timeout-driven transitions, request limits, outcomes, and Go implementation points.
- Examples
- Uses a gobreaker configuration, an order-service client call, and a gRPC client interceptor.
- What you can do after
- Apply it via gobreaker to limit recovery probes and integrate circuit-breaking into Go or gRPC clients.
Read how gRPC Microservices in Go explains half-open state →
What to know first
- retryA retry is a subsequent attempt to perform an operation after an earlier attempt fails or does not complete successfully.
Related concepts
- circuit breaker patternused by · A fault-isolation pattern that temporarily interrupts operations when monitored failures or unsafe conditions meet a defined criterion, limiting cascading effects and allowing recovery checks.
- statekind of · State is information describing the condition or configuration of a system or computation at a particular time that may influence its behavior or subsequent transitions.
- closed statecontrasts with · The closed state is a circuit-breaker state in which requests pass normally to a dependency considered healthy.
- open statecontrasts with · An open state is a circuit-breaker state in which calls to a failing dependency are rejected or fail immediately without being attempted.
Questions about half-open state
What is half-open state?
A half-open state is a circuit-breaker state that permits a limited number of requests to test whether a previously failing dependency has recovered.
Which Manning books explain half-open state?
Grokking Software Architecture and gRPC Microservices in Go.
What should I know before learning half-open state?
Manning books that teach half-open state usually introduce retry first.
What is the difference between half-open state and closed state?
A half-open state is a circuit-breaker state that permits a limited number of requests to test whether a previously failing dependency has recovered. The closed state is a circuit-breaker state in which requests pass normally to a dependency considered healthy.
What is half-open state a kind of?
Half-open state is a kind of state. State is information describing the condition or configuration of a system or computation at a particular time that may influence its behavior or subsequent transitions.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

