AI Infra Interviews logo
← Coding for Infra / 20
mediumBasetenOpenAI

Implement a circuit breaker in front of a model endpoint. What are the states, and what does the half-open state buy?

Implement bounded recovery probes, state-generation tickets and a recent failure window. Test concurrency and late completions.

Updated Sep 2026 · Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

Implement bounded recovery probes, state-generation tickets and a recent failure window. Test concurrency and late completions.

This answer is included with a free account. Sign in to read it and save your progress.

free account · no card needed
UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Look for atomic admission, exactly one completion per ticket, failure classification and honest scope and timeout behavior.

DISCUSSION · 0

No comments yet — be the first to share your approach.