ArchitectMind
  1. Home
  2. Java Ecosystem
  3. Book 10 · Security, System Design & Solution Architecture
  4. Volume II
  5. Assumptions
Book 10 · Volume II — System Design Fundamentals · Topic 1.4

Assumptions

Making beliefs explicit, rating their risk and validating them

11 min readStage 4 · Production & architecture10 interview questions
Chapter
Chapter 1 — System Design Thinking
Prerequisites
Topics 1.1–1.3
You will be able to
Surface hidden assumptions, record and rate them, validate the risky ones before committing, design for resilience to incorrect assumptions, and monitor them in production
Covers
Assumptions
On this page
  1. 1. Concept / Definition
  2. 2. Why It Exists
  3. 3. Core Concepts — Assumption Categories
  4. 4. How It Works Internally — The Assumption Register
  5. 4A. Deep Dive — Rating and Prioritising
  6. 4B. Deep Dive — Validation Techniques
  7. 4C. Deep Dive — Designing to Tolerate Wrong Assumptions
  8. 4D. Deep Dive — Monitoring Assumptions in Production
  9. 4E. Deep Dive — Assumptions in Interviews
  10. 4F. Deep Dive — Assumption Sensitivity Table
  11. 5. APIs / Features / Syntax
  12. 6. Practical Examples
  13. 7. Common Problems & Mistakes
  14. 8. Performance & Production Considerations
  15. 9. Architecture & Design Considerations
  16. 10. Interview Questions & Answers

1Concept / Definition

An assumption is something the design team believes to be true without complete evidence — for example the read/write ratio, peak traffic multiple, partner API latency or how stale users will tolerate data being. Every design rests on assumptions; the risk lies in assumptions that are implicit, unvalidated and high impact if wrong.

Assumption register
Figure 1 — Assumption register
Assumption lifecycle
Figure 2 — Assumption lifecycle
VocabularyMeaning
AssumptionBelief treated as true for design
Risky assumptionHigh impact if wrong, high uncertainty
SpikeShort experiment to reduce uncertainty
Leading indicatorMetric showing an assumption is breaking
Table 1 — Terms

2Why It Exists

Assumptions validated before build (ShopNow)
Figure 3 — Assumptions validated before build (ShopNow)
Hidden assumptionConsequence when wrong
"Peak is 5× average"Sale day outage at 30×
"Partner API responds in 100 ms"Thread exhaustion
"Objects are ~1 KB"Storage and cache sizing off by 10×
"Users check once per order"Read load underestimated
Table 2 — Why

3Core Concepts — Assumption Categories

CategoryShopNow tracking examples
Workload12M DAU; 3 views per DAU; peak 30× average; 30:1 read/write
Data500 B per event; 6 events per order; 20% of orders hot
BehaviourUsers accept ≤ 5 s staleness; refresh on push notification
DependenciesCarrier webhooks p99 < 2 s delivery; Redis managed SLA 99.99%
OperationalPlatform autoscaling reacts within 2 minutes
BusinessMarketplace sellers adopt tracking API within 6 months
Table 3 — Categories

4How It Works Internally — The Assumption Register

FieldExample
IDASM-07
StatementSale peak = 30× average tracking QPS
RationaleLast Diwali sale data (28×)
Impact if wrongCapacity shortfall, outage
UncertaintyMedium (new marketing push)
ValidationMarketing forecast + load test at 50×
OwnerTracking lead
StatusValidated with 50k RPS design target
Table 4 — Register structure

4ADeep Dive — Rating and Prioritising

Impact \ UncertaintyLowHigh
HighMonitorValidate before build
LowAcceptCheap experiment or accept
Table 5 — Focus on high/high

4BDeep Dive — Validation Techniques

TechniqueAssumption validated
Production data analysisRead/write ratios, sizes, peaks
Spikes/prototypesLibrary or service behaviour
Load testsThroughput, latency under peak
Partner testsDependency latency and limits
User research / A-B testsTolerance to staleness, UX
Stakeholder sign-offBusiness assumptions
Table 6 — Turning beliefs into facts

4CDeep Dive — Designing to Tolerate Wrong Assumptions

Uncertain assumptionDesign hedge
Peak multipleElastic compute, pre-scaling, load shedding
Object sizeStore large payloads in S3; size limits
Partner latencyTimeouts, async processing, circuit breakers
Read/write ratioCache capacity easily adjustable
Adoption rateFeature flags, on-demand pricing
Table 7 — Make being wrong cheap

4DDeep Dive — Monitoring Assumptions in Production

AssumptionMetric / alert
Read/write ≈ 30:1Ratio dashboard; alert if < 10:1
Event size ~500 Bp99 event size; alert > 4 KB
Carrier latencyWebhook delay histogram
Staleness toleranceComplaints/support tags
Table 8 — Assumptions as SLIs

4EDeep Dive — Assumptions in Interviews

PracticeExample
State them aloud"I'll assume 10M DAU and 20:1 reads"
Round numbersEasy maths (Chapter 2)
Invite correction"Does that match your expectations?"
Note sensitivity"If writes were higher, I'd change X"
Table 9 — Show judgement

4FDeep Dive — Assumption Sensitivity Table

AssumptionValue usedIf 2× higherIf 2× lower
DAU12 MDouble pods and cache; same designOver-provisioned; scale down
Read/write ratio30:1Cache even more valuableWrite path becomes the bottleneck
Event size500 BStorage and bandwidth 2×Minor savings
Peak factor30×Pre-scaling + shedding criticalAutoscaling alone suffices
Staleness tolerance5 sCheaper, longer TTLsNeeds push-based updates
Table 10 — Which assumptions change the shape, not just the size

5APIs / Features / Syntax

YAML
# Assumption register entries (versioned with the design)
- id: ASM-03
  statement: "Tracking events average 500 bytes; p99 < 2 KB"
  rationale: "sample of 1M carrier payloads (Aug 2026)"
  impact: medium
  uncertainty: low
  validation: "production sample analysis"
  status: validated
- id: ASM-07
  statement: "Sale peak = 30x average tracking QPS"
  impact: high
  uncertainty: medium
  validation: "marketing forecast + k6 load test at 50k RPS"
  monitor: "alert if peak/avg ratio exceeds 40 during sale"
  status: validated
CODEPROMQL
# Monitoring an assumption: read/write ratio for tracking
sum(rate(http_server_requests_seconds_count{
      uri="/orders/{id}/tracking", method="GET"}[15m]))
/
sum(rate(tracking_events_ingested_total[15m]))
JAVA
// Hedge against a wrong size assumption: offload large payloads to S3
public void ingest(CarrierEvent e) {
    byte[] raw = e.rawPayload();
    if (raw.length > 4_096) {  // assumption: p99 < 2 KB
        String key = "carrier-raw/%s/%s".formatted(e.carrier(), e.id());
        s3.putObject(b -> b.bucket(rawBucket).key(key), RequestBody.fromBytes(raw));
        e = e.withPayloadRef(key);
        metrics.counter("tracking.large_payloads").increment();  // watch the assumption
    }
    repository.save(e);
}

6Practical Examples

6.1 Peak assumption corrected

The first design assumed 5× peak from generic benchmarks. Last year's sale data showed 28×; the design target became 50k RPS with pre-scaling, avoiding a likely sale-day outage.

6.2 Staleness validated

A two-week A/B test showed no measurable change in satisfaction between 1 s and 5 s status freshness, validating the eventually consistent read model.

6.3 Dependency assumption broken in production

One carrier's webhooks lagged by up to 20 minutes during its outages. Monitoring the delay histogram triggered a fallback to polling for that carrier.

6.4 Worked example — hidden assumptions list

Hidden assumption surfacedFound by
One shipment per orderData analysis (12% have split shipments)
Table 11 — Challenge the obvious

6.5 Worked example — sensitivity

Assumption changeDesign impact
Read/write 30:1 → 5:1Cache less valuable; DB write capacity ↑
Table 12 — Know what flips the design

6.6 Worked example — spike

QuestionSpike
Can DynamoDB handle 2k WCU bursts on hot keys?Two-day experiment with write sharding
Table 13 — Cheap validation

6.7 Worked example — interview whiteboard

PromptAnswer outline
"How do you handle assumptions in a design?""State them explicitly (workload, data, behaviour, dependencies, operations, business) with rationale; rate impact × uncertainty; validate high-risk ones via production data, spikes, load tests, partner tests, user research or sign-off; design hedges (elasticity, timeouts, size limits, flags); monitor them as metrics in production; revisit when they break. In interviews, state round-number assumptions aloud and note sensitivity."
Table 14 — Structured answer

6.8 Worked example — NovaBank assumption

AssumptionValidation
UPI festival peak 5×Two years of NPCI volume data
Table 15 — Domain data

6.9 Worked example — anti-patterns

Anti-patternEffect
Implicit assumptionsSurprise failures
Never revisitedStale designs
Assumptions as facts in docsFalse confidence
No monitoringLate detection
Table 16 — Common mistakes

6.10 Worked example — assumption vs constraint

StatementType
Data must stay in IndiaConstraint
Users tolerate 5 s stalenessAssumption
Table 17 — Distinguish

6.11 Worked example — owner per assumption

AssumptionOwner
Growth 40% YoYProduct
Carrier latencyIntegration lead
Table 18 — Accountability

6.12 Worked example — business assumption

AssumptionRisk
Sellers adopt APIUnused capability — build minimal first
Table 19 — Scope hedge

6.13 Worked example — platform assumption

AssumptionValidation
Karpenter scales nodes in < 2 minScale tests
Table 20 — Infrastructure beliefs

6.14 Worked example — cost assumption

AssumptionCheck
Cache hit ≥ 90%Measure; cost model depends on it
Table 21 — Economics

6.15 Worked example — data distribution

AssumptionReality
Uniform order IDsHot celebrity-seller orders → hot keys
Table 22 — Distribution matters

6.16 Worked example — interview follow-ups

Follow-upAnswer
"What if your assumption is wrong?"Explain hedge and the metric that would reveal it
"Which assumption is riskiest?"Highest impact × uncertainty — validate first
Table 23 — Common probes

6.17 Worked example — checklist

Item✔
Register created✔
Rated✔
Top risks validated✔
Hedges designed✔
Monitored✔
Table 24 — Assumptions baseline

6.18 Worked example — retirement

AssumptionStatus
Validated and stable for 1 yearMoved to facts section
Table 25 — Register hygiene
AssumptionSLO impact
Redis available 99.99%Tracking 99.95% feasible
Table 26 — Dependency math

6.20 Worked example — seasonal assumption

AssumptionMonitor
Traffic doubles in Q4Capacity review in September
Table 27 — Calendar

6.21 Worked example — interview scenario

QuestionAnswer
"Assume 1B users" (unrealistic)Accept for exercise; note design would differ at 10M
Table 28 — Adapt

6.22 Worked example — documentation location

ArtifactSection
Design doc"Assumptions" with IDs
Table 29 — Visible

6.23 Worked example — validation cost

AssumptionValidation costDecision
Low impactHighAccept
Table 30 — Proportional effort

6.24 Worked example — broken assumption playbook

StepDetail
Alert → assess → hedge (flag/scale) → redesign if neededResponse
Table 31 — Operational readiness

6.25 Worked example — group assumptions

ThemeCount
Workload 6, data 4, dependency 5Overview
Table 32 — Readability

6.26 Worked example — review cadence

TriggerReview
Quarterly / before major eventsUpdate register
Table 33 — Living document

7Common Problems & Mistakes

MistakeFix
HiddenRegister
UnvalidatedData, spikes
No hedgesElastic design
UnmonitoredMetrics
Table 34 — Mistakes and fixes

Most assumption failures are failures of visibility, not of judgement. The belief that hurts is the one nobody wrote down, such as one shipment per order, because nobody thought to question it; it appears only when twelve percent of orders turn out to have split shipments and the data model has to change. The second trap is the stale register: assumptions are recorded at design time, validated once and never revisited, so a design built for last year's traffic mix quietly drifts out of its envelope. Teams also write assumptions into design documents as if they were facts, which gives reviewers false confidence and removes the prompt to validate them. Finally, validation effort is spent evenly rather than on the few assumptions that are both high impact and highly uncertain.

8Performance & Production Considerations

ConsiderationPractice
Assumption SLIsDashboards
AlertsThresholds
RevalidationBefore peaks
Table 35 — Operating assumptions

In production, an assumption is only useful if it is measured. Turn each high-impact assumption into a service level indicator with a dashboard and a threshold: the read/write ratio for tracking, p99 event size, carrier webhook delay and peak-to-average ratio during sales. Alerts should fire when a value moves outside the range the design was sized for, well before it causes an outage, and each alert should link back to the register entry and its hedge, such as scaling limits, the S3 offload path or polling fallback. Revalidate the big assumptions before known peaks such as Diwali or the year-end sale with fresh forecasts and a load test. Keep instrumentation cheap by reusing existing request metrics and sampling large payloads rather than logging them.

9Architecture & Design Considerations

GuidelineDetail
ExplicitRegister
ValidatedRisk-based
ToleratedHedges
Table 36 — Design guidance

10Interview Questions & Answers

Q1L1 · BasicConcept

What is an assumption in design?

An assumption is something the design team treats as true without complete evidence, because waiting for certainty would stall the design. Examples are a thirty-fold sale peak, thirty reads per write, 500-byte tracking events, partner webhooks arriving within two seconds or users tolerating five seconds of staleness. Every design rests on assumptions, and that is fine; the risk lies in ones that are implicit, unvalidated and expensive if wrong. An assumption differs from a requirement, which states what the system must do, and from a constraint, which is fixed. The architect's job is to make assumptions explicit, rate them, validate the dangerous ones and design so that being wrong is survivable.

Q2L1 · BasicConcept

Why state assumptions explicitly?

Because an assumption that is written down can be challenged, validated, monitored and revisited, while an implicit one fails silently. When ShopNow's first tracking design assumed a five-fold peak from generic benchmarks, writing it down let someone check last year's sale data, which showed twenty-eight-fold, and the design target became 50,000 requests per second. Explicit assumptions also explain the design to future readers: if the cache tier looks oversized, the register shows it was sized for thirty reads per write. They give stakeholders a chance to correct you early, especially on business assumptions such as adoption rates. Finally, each explicit assumption can become a metric that warns you when reality changes.

Q3L2 · IntermediateConcept

How do you prioritise assumptions?

Prioritise by multiplying impact if wrong by uncertainty. Impact asks what breaks and how badly if the assumption is false: a wrong peak multiple can cause a sale-day outage, while a wrong log volume estimate costs some storage. Uncertainty asks how much evidence you have: production data gives low uncertainty, a new marketing campaign gives high. High-impact, high-uncertainty assumptions must be validated before you commit to the design. High impact with low uncertainty is monitored. Low impact with high uncertainty gets a cheap experiment or is simply accepted, and low and low is accepted. In practice only a handful of a register's twenty entries need real validation effort before build.

Q4L2 · IntermediateConcept

How do you validate assumptions?

Match the technique to the assumption. Workload and data assumptions such as read/write ratios, payload sizes and peak multiples are best checked against production data, logs and last year's peak events. Library or service behaviour is validated with a short spike, for example a two-day experiment proving DynamoDB write sharding handles hot-key bursts. Throughput and latency under peak need a load test with production-like data, such as k6 at 50,000 requests per second. Partner latency and rate limits need tests against the partner's sandbox and contractual figures. User tolerance is tested with research or A/B tests, and business assumptions need explicit stakeholder sign-off. Record the evidence in the register entry.

Q5L3 · Senior EngineerDesign

How do you design for wrong assumptions?

Design hedges so that being wrong is cheap rather than catastrophic. For an uncertain peak, use elastic compute, pre-scale before known events and add load shedding so overload degrades gracefully. For object size, set limits and offload anything above a threshold to S3, keeping only a reference in the main store. For partner latency, use timeouts, circuit breakers and asynchronous processing so a slow dependency cannot exhaust threads. For read/write ratios, keep cache capacity easy to adjust. For adoption, build a minimal capability behind a feature flag and use on-demand pricing. Each hedge should be paired with a metric that tells you the assumption is breaking.

Q6L3 · Senior EngineerDesign

How are assumptions monitored?

Treat each important assumption as a service level indicator. Express it as a metric, put it on a dashboard and alert when it leaves the range the design was sized for. For ShopNow tracking, a PromQL query divides GET tracking requests by ingested events to watch the thirty-to-one read/write ratio, alerting below ten-to-one. A counter tracks payloads over four kilobytes, watching the size assumption, and a histogram tracks carrier webhook delay. Softer assumptions, such as staleness tolerance, are monitored through support ticket tags. Each alert should link to its register entry and the planned response, so on-call engineers know whether to scale, flip a flag or trigger a redesign discussion.

Q7L4 · Technical ArchitectConcept

Assumption vs constraint?

A constraint is a fixed boundary you must accept, while an assumption is a belief you are choosing to treat as true and should validate. Data must stay in India is a constraint, imposed by regulation, and no amount of testing will change it. Users tolerate five seconds of staleness is an assumption, and an A/B test can confirm or refute it. The distinction matters because they are handled differently: constraints are verified once with their source and designed around, while assumptions are rated, validated, hedged and monitored. A common mistake is recording an untested preference as a constraint, which removes it from scrutiny and can rule out better designs.

Q8L4 · Technical ArchitectTricky

What's the riskiest typical assumption?

The riskiest assumptions are usually peak traffic and dependency behaviour, because they are high impact and often based on guesses. Peaks are underestimated when teams use generic multiples rather than their own event data, and a five-fold guess against a real thirty-fold peak means a sale-day outage. Dependency assumptions fail because partners publish averages, not tails or failure behaviour: one carrier's webhooks lagged up to twenty minutes during its outages. Data distribution is a close third, since uniform keys in a design can hide celebrity-seller hot keys. Validate these with last year's peak data, partner tests and real key distributions, and hedge them with shedding, timeouts and sharding.

Q9L5 · Solution ArchitectBehavioural

How do you use assumptions in interviews?

State a small set of round-number assumptions aloud early, write them on the board and invite correction. For example: I will assume ten million daily users, twenty reads per write and a peak of ten times average; does that match your expectations? Round numbers keep the maths quick and visible. Then note sensitivity: if writes were much higher, I would move from a cache-heavy design to a write-optimised store. That shows judgement rather than memorised architecture. If the interviewer gives an unrealistic figure, accept it for the exercise and mention briefly where the design would differ at a more typical scale. Refer back to the assumptions when justifying each choice.

Q10L5 · Solution ArchitectScenario

When do you revisit assumptions?

Revisit assumptions on a schedule, before known peaks and whenever monitoring shows one breaking. A quarterly register review checks that values, owners and status are current and retires assumptions that have been stable for a year into the facts section. Before major events such as Diwali or a big marketing launch, the high-impact assumptions are revalidated with fresh forecasts and a load test, since seasonal growth can double traffic. Any alert from an assumption metric triggers the playbook: assess, apply the hedge by scaling or flipping a flag, and open a redesign discussion if the assumption no longer holds. New features and new dependencies also prompt a review.

Test your knowledge on this topic →Flashcards from this topic's 10 questions, filtered by level and type.

Free question pack

Get 100 free Core Java interview questions

Subscribe for the Book 1 question pack (PDF, every answer explained) and new tutorials once a week. No spam, unsubscribe anytime. What is in the pack?

Almost done! Check your inbox and click the confirmation link. Your download link arrives as soon as you confirm.