Start with the commitment
An architecture proposal earns its place by explaining how the system fulfils a business commitment under specific conditions. A diagram that opens with a load balancer and three service boxes leaves the difficult questions unanswered. What event marks a successful transaction? What happens if a dependency is slow? Which records can be reconstructed, and which exist only once? Those answers determine the shape of the system.
Consider Cedar Books, a retailer that accepts orders through a web checkout. From the customer's perspective, a successful checkout gives them a confirmation and a reference they can look up later. From the finance team's perspective, a successful checkout leaves an order and payment record that can be reconciled. The same HTTP request participates in two distinct commitments. A page that reports success before either durable commitment is settled can make the technical dashboard look healthier than the customer experience.
Before choosing cloud products, name the business owner and the affected users, then ask for three ordinary examples and one bad day. The bad day is especially informative. A holiday spike, supplier outage or failed WAN connection exposes assumptions that rarely surface in a normal demonstration.
Discover the workload through journeys
Describe a primary journey using a sequence of actions and handoffs. For checkout, the client authenticates, retrieves the basket, asks for a price, confirms payment intent, and receives an order reference. Email delivery and warehouse notification happen later. Draw a boundary around steps that must complete before the reference appears. Mark dependencies called on the synchronous path and dependencies that can process work after a durable event exists.
Inventory the characteristics of each dependency. A local catalogue cache may tolerate a stale value for several minutes. A price commitment at checkout may require a current quote. A payment API can return an ambiguous timeout in which the caller receives no answer even though the provider applied the operation. A service-level objective for checkout must reckon with the difference between a slow read and an uncertain side effect.
Write down who controls each dependency. Responsibility for a call can be split among the service that makes it, the vendor that serves it, and the operations team that receives the alarm. Ask who can change the timeout or investigate a particular payment after hours. A dependency with a good SLA but a weak escalation route can still dominate recovery.
A useful worksheet is short enough to maintain:
| Journey step | Success evidence | Durability | Recovery owner |
|---|---|---|---|
| Quote cart | Price version agreed | Price version retained with order | Commerce |
| Authorise payment | Provider intent recognised | Provider intent and key recorded | Payments |
| Commit order | Order reference available for lookup | Replicated transaction acknowledged | Checkout |
| Notify warehouse | Consumer processes event | Replay from outbox through queue | Fulfilment |
Record results as evidence and mark unknowns as assumptions. An old load test may be evidence for one specific build and traffic shape. It provides weaker support for a design using different database indexes and customer behaviour.
Turn a preference into a test
Stakeholders often say they need high availability, instant responses and a low cloud bill. Each phrase invites a testable requirement, a priority and a fallback. Ask a stakeholder what they would do if you could satisfy any two at launch. Their answer is more useful than a broad assurance that everything matters.
For Cedar Books, use these initial design inputs:
- At least 99.9% of eligible checkout attempts receive a durable order confirmation in 30 days.
- At least 95% of eligible attempts complete within 900 ms under the expected flash-sale peak.
- After loss of one zone, accepted orders remain durable and the service returns to peak-ready capacity within five minutes.
- Order records stay in the approved primary geography. The approved location policy must also cover logs, snapshots and key material.
- Steady-state infrastructure should cost less than $2,400 per month before variable payment fees.
The time window, population and measurement location matter. A successful response from an application pod may omit the network, edge and authentication delays that customers experience. Plan to measure the objective at or near the boundary where the client experiences the failure. For durability, attempt to find the accepted reference after each failure injection. A count of healthy instances proves a different fact.
Treat constraints according to source. Policy restrictions and legal commitments need an accountable owner. The infrastructure target may be a budget preference with a clear approval threshold. A familiar database engine may be a choice based on the on-call team's skills. Parts of the design become unnecessarily expensive when a preference is classified as a hard requirement.
Estimate load using a workload shape
The business expects 480,000 order submissions across a 30-day month. An evenly spread average is about 0.19 submissions per second. It is an accurate calculation and a poor estimate of sale-day intensity. A 20-minute event is forecast to generate 30,000 submissions, or 25 per second on average. If the busiest minute can be four times higher, the design target is 100 submissions per second.
Each submission is forecast to generate two reads and one transactional write. Peak load therefore implies 200 reads and 100 writes per second before retries, support traffic or reads made by abandoned baskets. If 8% of client attempts retry once, the average request amplification on that slice is 1.08. Organise your estimates around dependency-specific operations rather than one aggregate request number.
Use the same journey to estimate concurrency. A 300 ms mean residence time at 100 arrivals per second implies about 30 in-flight requests under stable conditions. If a slow dependency raises mean residence time to three seconds, in-flight work can rise toward 300. Little's Law requires a meaningful stable measurement interval. A burst that arrives just as a queue saturates needs direct testing. Test enough to find out what breaks first, which can be a connection pool, a retry policy or a rate limit well before CPU saturation.
Record a low, forecast and stretch scenario. Give the first scenario a cold start, the second a warm cache and the third a zone impairment. This is a more informative plan than three runs of the same script at larger request counts.
Decide what to prove before committing
A two-zone regional design may satisfy the zone requirement, but several conditions need verification. The database commit acknowledgement must survive a zone loss. Each remaining application pool must have enough capacity to handle displaced traffic. The payment integration must fail safely when its response is ambiguous. A shared connection broker or a single egress path can undo the shape suggested by the application diagram.
Pick the experiment that can change your decision. If zonal durability is a hard commitment, run a failover test with a stream of identifiable orders and reconcile references before and after the switch. If latency is the uncertainty, instrument the critical path and compare p95 and p99 with a record of retry counts and connection usage. If cost is the uncertain variable, build a small model with separate lines for compute, storage, requests, network transfer and observability. Compare steady-state and peak usage because the expensive resource may be different in each.
When a requirement is missed, retain the evidence. A failed trial with precise conditions can guide a better design and protect the team from repeating the same false assumption in the next review.
Desk exercise
A document-ingestion team says, “We need to process files immediately.” Interviews reveal that customers want confirmation within two seconds, analysts can wait six minutes for indexed content, and each upload has to survive a worker crash. Write one latency objective, one durability check and one scope question. Identify the point where work becomes asynchronously recoverable.
A plausible answer counts eligible accepted uploads with a confirmation within two seconds, measured at the upload boundary. The confirmation follows durable storage and a persistent registration of the job. The durability check kills a worker during processing and verifies that the accepted reference can re-enter work without losing the source. Ask how document sizes and malformed files affect the accepted population, because an endpoint that accepts a one-kilobyte file and a ten-gigabyte file has different upstream constraints.
Run a discovery interview with numbers attached
Cedar Books receives 240,000 catalogue requests per day and 12,000 checkout attempts. The average checkout rate is just under 0.14 per second. During a promotion, 6,000 requests arrive in twenty minutes, or five checkout attempts per second before retries. Timing measurements also show a one-minute peak of 780 attempts, or thirteen per second. Ask for the peak interval and definition before treating any of these values as a capacity input. A buyer who retries three times after a timeout may count as three HTTP requests and one business attempt. The system needs to handle both the higher load and the single business outcome.
A representative interview includes the store product owner, an operator, a data owner and someone who can answer how checkout falls back when a service is unavailable. Reconstruct the busiest recent hour together. Ask when customers could get a committed order number, whether guest purchases were included, and what the support team saw for requests that timed out after payment. Capture a source and owner for each confirmed figure. Keep a separate assumption for coupon validation traffic if nobody can produce volume per checkout. A capacity review should know which number can safely be used for a commitment.
Exercise with incomplete evidence
The head of sales wants “orders in Europe to stay in Europe.” The legal team has not yet clarified the scope. Logs include customer email addresses, checkout workers write temporary queue data and backups currently follow a global policy. Write a provisional boundary and a question that would change the design.
A reasonable provisional boundary contains customer identifiers, orders, payloads, logs, backups and any export location that can reveal the underlying European customer. Ask whether processing controls should follow customer residence, sales territory, data controller or a different rule, and which jurisdictions are acceptable. A platform design can then choose where to route storage, processing, archives and operations access. Until clarified, list unknown source systems and prevent the team from assuming the same constraints apply to static images or anonymized aggregates. Document the practical consequences. The team may need capacity in more regions and a way to handle users traveling across territories.
Define the first verification
Pick a measurable accepted-order test. During a controlled 20-minute load run, submit orders at five per second and include a one-minute burst at thirteen per second. Use stable order keys and deliberately drop a small fraction of responses after accepting work. Evaluate p95 and p99 latency for successful attempts, count HTTP retries, and reconcile every successful receipt to a single committed order. Compare charged outcomes to the durable order ledger using synthetic transactions. Classify data clearly as test records. Service owners can then explain both load capacity and a buyer's experience of uncertainty. Capture the build, resource sizes and dataset so another team can repeat the test.
Write an intake brief for a second team
Cedar Books is considering a catalogue feature enabling bookshops to reserve stock in bulk. The project sponsor requests a single cloud region near London, a one-click export for shop operators and an architecture decision this week. Start by converting those proposed implementation details into questions. Does region choice reflect a response time target, customer location or an enforceable data constraint? What data does export contain, who may request it, and does work still have to complete when their session expires? Which decision is due this week, and can it proceed with a justifiable assumption? Ask who can commit on each point. A region can only satisfy a location constraint if downstream processing, logs and recovery also satisfy it.
Prepare three concrete tasks for partner and product owners. First, trace a typical reservation and one that times out after stock has been withheld. Second, identify which fields the support team needs to investigate a disputed reservation without downloading all customer records. Third, obtain one day of representative counts and one peak interval. Suppose 150 retailers each submit two monthly batches of 200 stock lines. The average month contains 60,000 lines. A contract permits all retailers to submit together within fifteen minutes. If they do, 30,000 lines arriving in fifteen minutes yields 2,000 lines per minute. Bulk endpoint load is only 150 requests in the same interval. The test needs to model both arrival definitions and measure memory, storage, lock time and result visibility. A process per bulk call might be able to handle intake quickly while stock transactions remain queued.
Draft the acceptance and evidence
State a commitment the product team can adopt or revise. An authorized bulk submission returns a durable reservation batch reference within two seconds at a verified peak. Each accepted line receives a stable outcome within an agreed deadline. A client retry of the same submission identity can retrieve the existing job. It can't reserve more units simply because the response was lost. Record the timeout deadline and acceptable handling of partial conflicts before making this permanent. An operator can then test when stock changes, who can query progress and what a partly unsuccessful reservation means. Specify the policy for a retailer's partner region and the consequence of a failed export.
Hand over a review packet with a request sequence, a workload envelope, confirmed constraints, assumed constraints and a single experiment with expected result and owner. For this scenario, a representative experiment sends bulk requests across two permitted synthetic tenants while existing checkout remains busy, loses selected responses after commitment and verifies both accepting an ordinary batch and rejecting access to the other tenant's record. Include whether the pending job can be canceled and how terminal state is represented. If the experiment disproves the workload assumptions, record whether scope, deadline, data path or placement changes. A discovery brief is complete enough for implementation when another team can see which outcomes matter and what would make the current design unsuitable.
Further reading: AWS Well-Architected Framework and Google Cloud Professional Cloud Architect objectives.