Quick revision
The short answer
I would set a short organisation policy that says which patterns every remote call needs: timeouts always, retries only under defined rules, and circuit breakers for critical dependencies. The platform starter ships those patterns with defaults and a written reason for each value, and breaker states and transitions appear as metrics on every standard dashboard. Settings are reviewed against real traffic and in game days, and teams may override a default with a written justification, but not switch protection off because it is noisy.
What to remember
In this answer, we set an organisation resilience policy that teams can live with. We found that noisy breakers usually come from bad classification, poor sizing or alerting, defined the required patterns for every remote call, shipped them as named defaults with written reasons in the platform starter, made breaker state visible on standard dashboards, and tuned settings from real data and game days, allowing justified overrides but never silent disabling.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would set a short organisation policy that says which patterns every remote call needs: timeouts always, retries only under defined rules, and circuit breakers for critical dependencies. The platform starter ships those patterns with defaults and a written reason for each value, and breaker states and transitions appear as metrics on every standard dashboard. Settings are reviewed against real traffic and in game days, and teams may override a default with a written justification, but not switch protection off because it is noisy.
Why this question is asked
When each team configures circuit breakers its own way, the organisation gets the worst of both worlds: breakers that open on harmless errors and annoy people, and breakers that never open when they should. Teams then disable them, and the next incident spreads further. Interviewers ask this to see whether we can turn a technical pattern into a policy that teams follow willingly. In this answer, we will look at why breakers become noisy, define the required patterns, ship them as defaults, make their behaviour visible, tune them with evidence, and handle exceptions without blanket disabling.
1Why Breakers Get Called Noisy
Before writing a policy, we should understand the complaint, because noisy usually means misconfigured. The common causes are counting 4xx responses or business exceptions as failures, so bad input opens the breaker; a minimumNumberOfCalls so small that two failures open it on a busy endpoint; one breaker shared by unrelated operations; and alerts on every state change, so engineers are paged for a breaker that opened and closed again in ten seconds.
None of these is a reason to remove the breaker. Each is a reason to configure it better. A policy that only says use circuit breakers without fixing these causes will be ignored again.
2Define the Required Patterns
The policy should be short enough that every engineer can remember it, and specific about what is required. Every remote call has connect, read and pool timeouts, without exception. Retries follow one set of rules: transient errors only, idempotent calls only, at most three attempts with jittered backoff, at one layer. Circuit breakers are required on calls to critical dependencies, those whose slowness could exhaust our threads or connections, and recommended elsewhere. Every breaker counts only infrastructure failures (I/O errors, timeouts, 5xx) and ignores client and business errors.
Notice that the policy states outcomes and rules, not exact numbers. The numbers belong in the defaults, where they can be tuned.
| Pattern | Required where | Default |
|---|---|---|
| Timeouts | every remote call | connect 1 s, read per dependency, pool 1 s |
| Retry | transient errors on idempotent calls | 3 attempts, jittered backoff, one layer |
| Circuit breaker | critical dependencies | 50% failures, window 50, minimum 20 |
| Bulkhead | slow or optional dependencies | concurrency limit per dependency |
| Override | any default | allowed with a written reason, reviewed |
3Ship the Defaults in the Platform Starter
Teams follow the easy path, so we make the policy the easy path. The platform starter provides named Resilience4j configurations, for example a critical-dependency profile and an optional-dependency profile, that teams pick by name. The configuration already classifies exceptions correctly, so the most common source of noise disappears for everyone at once.
Each default comes with documented reasoning in the starter's README: why the minimum is 20 (enough calls for the rate to mean something on a typical endpoint), why 4xx is ignored, why the open state lasts 30 seconds. When a team understands the reason, it can tell whether its case is really different.
4Make Breaker Behaviour Visible
A breaker that nobody can see is a breaker nobody trusts. Resilience4j publishes Micrometer metrics for breaker state, call outcomes and not-permitted calls, and the starter tags them with the dependency name. We add them to the standard service dashboard, so every team sees, next to its latency and error graphs, which breakers opened and when.
Alerting needs care. We alert when a breaker stays OPEN for longer than a few minutes, or when it opens repeatedly within an hour, not on every single transition. That removes the pager noise that makes people hate breakers, while still surfacing real problems.
5Tune With Evidence and Allow Justified Overrides
Defaults are a starting point. Twice a year, or after a significant incident, the platform team reviews breaker data with service owners: which breakers opened, whether the opening matched a real dependency problem, and whether any failed to open during an incident. Game days, where we deliberately slow or break a dependency, show whether the breaker opens in time and whether the fallback works.
When a team needs a different value, it overrides the default in its configuration with a short comment or a decision record explaining why, and the review looks at it. What we do not allow is turning protection off entirely because it is inconvenient. If a breaker really cannot be configured to behave, that is a finding for the platform team to solve, not a team decision to make silently.
- Team reports a noisy breaker
- Counting client or business errors?YesFix classification in configNoLook at the traffic
- Minimum calls wrong for traffic?YesTune the window and minimumNoLook at granularity
- Override with a written reasonreviewed at the next session
- Never: silently disableraise it with the platform team
5 steps in order. Play them, or step through them one at a time.
6Follow-up questions
How do you get teams to adopt the policy without forcing them?
By making adoption cheaper than not adopting. The starter gives them correct configuration with one line, the dashboards come for free, and the noise they complained about goes away. Then we add a light check, such as a startup warning or a scorecard, for services that call critical dependencies without a breaker.
What if a team insists its breaker is useless?
We look at the data together. If the dependency never fails in a way that could exhaust our resources, perhaps a timeout is enough, and the policy allows that for non-critical calls. If it does, we fix the configuration until the breaker opens only when it should.
How do you measure whether the policy works?
By incidents: how many incidents spread from one dependency to its callers before and after, how often breakers opened during real dependency failures, and how many false openings happened. A falling count of cascading failures is the result we want.
7Conclusion
In this answer, we set an organisation resilience policy that teams can live with. We found that noisy breakers usually come from bad classification, poor sizing or alerting, defined the required patterns for every remote call, shipped them as named defaults with written reasons in the platform starter, made breaker state visible on standard dashboards, and tuned settings from real data and game days, allowing justified overrides but never silent disabling.
Open with
I would start by asking why the breakers are noisy, because in my experience it is almost always configuration: client errors or business exceptions counted as failures, a tiny minimum number of calls, one breaker shared by unrelated operations, or a page for every state change.
Then, if they want more
Then I would write a short policy: every remote call has timeouts, retries follow one set of rules, and calls to critical dependencies have a circuit breaker that only counts infrastructure failures like timeouts, I/O errors and 5xx.
I would make the policy the easy path by shipping named configurations in the platform starter, such as a critical-dependency profile, so a team writes one line, base-config critical-dependency, and gets sensible values with a documented reason for each.
Breaker state and transitions would go onto the standard dashboards with Micrometer, and alerts would fire only when a breaker stays open for minutes or opens repeatedly, not on every flap. Twice a year and after incidents, we would review the data with teams and run game days to check that breakers open in time and fallbacks work.
Teams can override a default with a written justification that we review, but disabling protection silently is not allowed; if a breaker cannot be made to behave, that becomes the platform team's problem to fix.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Spring Cloud documentation, Resilience4j documentation
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Each team configures circuit breakers differently and some disable them because they are...": https://scrivio-interview-library.netlify.app/spring-boot/resilience/bbbe1cc356/