Book 10 · Volume VII — Solution Architecture Delivery & Governance · Topic 1.4
Architecture & Operations
Designing systems to be run — SLOs, failure modes, readiness and learning from production
10 min readStage 4 · Production & architecture10 interview questions
Written byMaheshFounder · Senior Technical Architect
Chapter
Chapter 1 — Architecture in Software Delivery
Prerequisites
Topics 1.1–1.3; Volume V Topic 5.5
You will be able to
Treat operability as a first-class quality attribute, set SLOs and design degraded modes, analyse failure modes during design, run production readiness with operations, design on-call and runbooks, and turn incidents into architectural improvements
Architecture and operations are joined by a simple fact: every architectural decision is eventually tested in production. Architects therefore design for operability — the ease with which a system can be observed, deployed, diagnosed, scaled and recovered — set SLOs and degraded modes as design inputs, involve operations (SRE, support) from the first design review, and close the loop by feeding incident learning back into architecture.
Figure 1 — Architecture ↔ operations loop
Figure 2 — Operability requirements per component
Vocabulary
Meaning
SLO / error budget
Target reliability and the allowed unreliability
Degraded mode
Reduced functionality that keeps core journeys working
PRR
Production readiness review
Toil
Manual, repetitive operational work
MTTR
Mean time to restore service
Table 1 — Terms
2Why It Exists
Ops as afterthought
Consequence
No SLOs
No shared definition of "good"
No degraded modes
Dependency failure = outage
Observability bolted on
Long diagnosis
Local incident fixes
Same failure elsewhere
Table 2 — Why
3Core Concepts — Operability Attributes
Attribute
Design means
Observability
OTel traces, structured logs, RED/USE metrics, business metrics
// Degraded mode: "policy check pending" when the PAS read model is unavailablepublic FnolAcceptance accept(FnolRequest r) { PolicyStatus status = policyPort.findCached(r.policyNumber()) .map(PolicyStatus::from) .orElse(PolicyStatus.CHECK_PENDING); // don't fail FNOL on PAS problemsreturn fnolService.register(r, status);}
CODEMARKDOWN
## Runbook: FNOL error rate high (alert: fnol-slo-burn-fast)1. Check dashboard "FNOL overview": which dependency shows errors?2. If PAS read model lag > 10 min → confirm CHECK_PENDING path active; notify Policy IT.3. If DB connections saturated → scale claims-core (HPA max 30); check slow queries.4. If recent deploy → roll back via Argo CD (app: claims-core, previous revision).Escalate: #claims-oncall → platform on-call → solution architect (systemic).
6Practical Examples
6.1 Claims 360 failure modes
Design reviews with SRE produced a failure-mode table per dependency; when the mainframe batch overran during cyclone season, FNOL continued with "policy check pending" and no outage was declared.
6.2 Timeouts as a pattern
Nine incidents traced to missing timeouts led to resilience defaults in the golden path and a CI check; timeout-related incidents dropped to zero the following two quarters.
6.3 NovaBank ops at go-live
Operations first saw the new payments platform two weeks before launch; missing runbooks delayed go-live by a month. Later programmes included SRE from the first design review.
6.4 Worked example — SLO consequence
99.95% FNOL
No sync PAS dependency
Table 11 — Design input
6.5 Worked example — degraded mode
CHECK_PENDING
FNOL keeps working
Table 12 — Resilience
6.6 Worked example — pattern fix
Timeouts
Golden path default
Table 13 — Learning
6.7 Worked example — interview whiteboard
Prompt
Answer outline
"How do you make sure your architecture works well in operations?"
"Operability as quality attribute: observability, deployability, recoverability, diagnosability, scalability, cost. SRE in design reviews from day one; SLOs and error budgets as design inputs; failure-mode table per dependency with degraded modes. PRR with evidence (dashboards, chaos, load, rollback, runbooks, on-call). Teams own on-call. Blameless PIRs; classify incident actions as local vs architectural; fix classes via golden paths, standards, fitness functions, ADRs. Watch incidents by root cause, MTTR, CFR, burn, toil, cost."
Most operational pain is designed in long before the first incident. The classic pattern is throwing the system over the wall: a project team builds it, operations sees it two weeks before go-live, and missing runbooks, dashboards and capacity tests push launch back, as happened with NovaBank's payments platform. Dependencies without timeouts or degraded modes turn a slow mainframe or fraud vendor into a full outage of the journeys that call it. Observability added at the end produces logs without correlation IDs and metrics that do not map to user journeys, so diagnosis takes hours. Finally, post-incident actions are often purely local, so a missing timeout is fixed in one client while the same class of failure waits in twenty other services.
8Performance & Production Considerations
Consideration
Practice
SLO burn alerts
Multi-window
Capacity
Load-tested
Cost
Unit metrics
Table 35 — In operation
Alert on SLOs, not on every metric. Multi-window, multi-burn-rate alerts page on-call only when the error budget is being consumed fast enough to matter, for example two percent of a 28-day budget in an hour, and raise a ticket for slow burns, which cuts noise and missed incidents at the same time. Capacity must be load-tested at about one and a half times the expected peak, with autoscaling limits and database connection pools sized for that figure rather than for averages. Watch unit cost, such as cost per claim registered, alongside reliability, because some resilience choices, like multi-region replicas, are expensive and should be justified by tier. Keep runbooks next to the alerts they serve and test them during game days, so they still match the system.
9Architecture & Design Considerations
Guideline
Detail
Operability first-class
Runnable
Design failure
Resilience
Learn from production
Improvement
Table 36 — Design guidance
10Interview Questions & Answers
Q1L1 · BasicConcept
What is operability?
Operability is how easily a system can be observed, deployed, diagnosed, scaled and recovered by the people who run it. It is a quality attribute like performance or security, so it has to be designed in rather than added at go-live. In practice that means OpenTelemetry traces, structured logs and RED metrics tied to user journeys; small, independent deployments with automated rollback; idempotent operations and tested backups for recovery; correlation IDs and a clear error taxonomy for diagnosis; stateless services with good autoscaling signals; and unit cost metrics. A highly operable system lets an on-call engineer at three in the morning understand what is failing and restore service within minutes.
Q2L1 · BasicConcept
What is an SLO?
A service level objective is a target for a service level indicator that users care about, measured over a time window, such as 99.95 percent of FNOL submissions succeeding over a rolling 28 days or p95 latency below 400 milliseconds. The SLI is the measurement, typically good events divided by valid events; the SLO is the target; and the error budget is what remains, here about twenty minutes of failure in 28 days. SLOs give product, engineering and operations a shared definition of good enough. They should describe user journeys, not servers, and should be deliberately below one hundred percent, because perfect reliability is neither achievable nor worth the cost.
Q3L2 · IntermediateDesign
How do SLOs influence architecture?
SLOs are design inputs because they decide redundancy, dependencies, caching and synchronous versus asynchronous choices. Claims 360's 99.95 percent FNOL availability ruled out any synchronous call to the mainframe policy system, since its availability was lower, so FNOL reads from a local read model and accepts claims with policy check pending when it is stale. The 400-millisecond p95 target pushed fraud scoring onto asynchronous events. Processing documents within five minutes at a twenty-fold surge required queue-based, autoscaled workers. Availability targets also set multi-AZ or multi-region deployment. Work backwards from the SLO: the end-to-end chain cannot be more reliable than the product of its synchronous dependencies.
Q4L2 · IntermediateDesign
What is a degraded mode?
A degraded mode is a planned, reduced level of functionality that keeps the core user journey working when a dependency fails, instead of failing the whole request. Designing one starts with a failure-mode table per dependency: what fails, how it shows up and what the system does instead. In Claims 360, a slow mainframe policy system means FNOL is accepted with policy check pending; a fraud service outage falls back to rules-only scoring with asynchronous re-scoring; OCR throttling queues documents and notifies the user; and payment gateway errors hold the payment and retry, with a secondary gateway available. Each degraded mode needs an alert, a runbook and a game-day test.
Q5L3 · Senior EngineerConcept
What does a PRR check?
A production readiness review checks with evidence, not promises, that a service can be run safely before it takes real traffic. Observability means dashboards and alerts tied to SLOs. Resilience means chaos experiments and game-day results for the top failure modes. Capacity means a load test at around one and a half times expected peak. Deployment means rollback tested, ideally automated through Argo CD or similar. Runbooks must cover the top failure modes and every paging alert. On-call must have a rota, escalation path and trained engineers. Operations and SRE take part as reviewers. Gaps become tracked actions, and serious ones block launch until fixed.
Q6L3 · Senior EngineerTrade-off
Who should run services?
The teams that build services should run them, with SRE and platform teams providing tooling, standards and expertise. When the same squad is on call for what it builds, operability becomes its own incentive: noisy alerts, missing runbooks and fragile dependencies wake up the people who can fix them. Ownership should be visible in a service catalogue with owner, tier and dependencies, so incidents are routed correctly. SRE engages most deeply with tier-one services, runs reviews and guards the error budget policy, while platform teams provide golden paths. A separate operations team running everything works only for very stable systems and tends to slow change and diffuse accountability.
Q7L4 · Technical ArchitectScenario
How turn incidents into architecture changes?
Classify every post-incident action as either a local fix or an architectural change, then fix recurring classes of failure at the architecture level. Review incidents by root cause category quarterly to find patterns. At Claims 360, nine incidents traced to missing timeouts led to resilience defaults in the golden path and an ArchUnit check that fails CI for clients without timeouts, and timeout incidents dropped to zero for two quarters. Eight configuration incidents led to progressive delivery and config validation in CI, and four schema incidents to schema registry compatibility rules and expand-and-contract migrations. Record each change in an ADR or standard, and add a fitness function so it stays fixed.
Q8L4 · Technical ArchitectConcept
What operational metrics matter to architects?
Architects should watch metrics that show whether the architecture is helping or hurting in production. Incidents by root cause category reveal repeated design weaknesses. Mean time to restore reflects diagnosability; Claims 360 cut it from three hours to forty minutes once tracing and correlation IDs were in place. Change failure rate reflects deployability and test quality. Error budget burn shows where reliability work should take priority. Toil hours highlight manual operational work worth automating, with SRE toil kept below thirty percent. Unit cost, such as cost per claim, shows efficiency as volumes grow. Reviewed together quarterly, these turn production experience into architectural priorities and an improvement backlog.
Q9L5 · Solution ArchitectBehavioural
When should operations be involved?
Operations should be involved from the first design review, not two weeks before go-live. Early involvement lets SRE challenge dependencies, shape SLOs and failure modes, and request the observability and runbooks they will need while changes are still cheap. NovaBank learned this the hard way: operations first saw the new payments platform shortly before launch, missing runbooks delayed go-live by a month, and later programmes included SRE from day one. Beyond design, operations should review capacity plans, take part in game days and production readiness reviews, and feed incident learning back into architecture. Treat them as a stakeholder with veto power on readiness, not as a downstream recipient.
Q10L5 · Solution ArchitectConcept
What is an error budget policy?
An error budget policy is a pre-agreed set of rules for what happens when a service consumes its allowed unreliability. While budget remains, teams ship features at full speed and can take reasonable risks. When the budget is exhausted, for example more than about twenty minutes of FNOL failures in 28 days at 99.95 percent, the policy shifts priority to reliability: feature releases pause or slow, the next sprint focuses on the top causes, and risky changes need extra review. Exceptions such as security fixes are allowed. The value is that the trade-off between speed and stability is decided in advance by product and engineering together, not argued during every incident.