What you will be able to do
- Produce a complete platform design for a multi-requirement business, with numbers not adjectives.
- Compare at least two architecture alternatives on all ten criteria.
- Write an implementation plan, monitoring plan, failure-recovery plan, and load-test plan.
- Defend the design by naming its own failure modes and the next expected bottleneck.
Concepts covered
The brief: a business needs low-latency transactions, continuous ingestion, analytical reporting, historical retention, and predictable performance under peak load. Design the platform, then defend it. This is the whole course applied at once - profile, ladder, platforms, criteria.
The real-world analogy is an engineering viva. You bring the bridge you designed and the panel does not admire it - they ask where it fails first, what load it cannot carry, and what you accepted to hit the budget. This capstone is the same examination: the diagram is the easy half, and the failure table is the part that proves you actually built the thing on paper. The most common beginner mistake is defending a design by listing its strengths - writing the implementation and monitoring plans in detail, then leaving “where this breaks” vague or absent. The exercise makes that section the last and most important deliverable, because an architecture whose designer cannot list its weaknesses was never examined.
The workload assumptions - you write these first
A design without assumed numbers cannot be evaluated, so the first deliverable is the profile:
| Dimension | Example assumption | What it rules in or out |
|---|---|---|
| Read/write ratio | 80% reads, 20% writes; 5k reads/s, 1.2k writes/s at peak | Read-heavy enough for replicas; writes fit one engine |
| Transaction size | 1-10 rows per commit | Short transactions; lock windows small |
| Volume / growth | 8 TB now, +300 GB/month | A 3-year capacity clock to size against |
| Concurrency | 800 peak sessions | A bounded pool + governor, not unlimited |
| Latency | p99 < 30 ms point reads; reports < 30 s | Tight reads, loose reports - separate the paths |
| Consistency | Read-your-writes for app; staleness OK for reports | Primary serves app reads; replicas/lake serve the rest |
| Retention | 7 years, cold after 13 months | Partitioned sliding window + archive tier |
| Availability | RTO 15 min, RPO 5 min | Multi-AZ or AG; not a restore-from-backup answer |
Your assumptions will differ - the exercise is that the architecture follows from them.
Two alternatives to score
Produce at least two real candidates and score both on the ten criteria from the architecture-decisions lesson - the defence is meaningless if only one design was ever considered:
- A - SQL Server-centric: a large RDS instance, Multi-AZ, a read replica for reports, table partitioning for retention. Everything in one engine; simplest operations.
- B - Hybrid: SQL Server on RDS for OLTP, CDC to S3, Snowflake for reporting, a partitioned primary for retention, cold data archived to the lake.
Score both. For this profile, B wins on concurrency (analytics isolated on its own warehouse) and reporting latency (heavy queries off the OLTP engine); A wins on operability and cost (one platform, one pipeline less). Neither is universally right - the profile decides.
The reference design
The hybrid platform
RDS SQL Server - OLTP
Transactions + app reads, Multi-AZ
Single writer, bounded pool, RCSI, partitioned hot table
CDC to S3
Change feed lands in the lake
Ingestion never touches the OLTP tables
Snowflake - reporting
Analysts query a multi-cluster warehouse
Reports cannot starve transactions - separate compute entirely
Retention
Hot partitions on RDS; cold switched to the lake
13-month sliding window; older data out of the engine
Peak absorption
Read replica + governor pools
The peak plan is capacity + isolation, not a hope
The implementation plan
- Stand up the OLTP tier - RDS instance, Multi-AZ, RCSI on, bounded connection pool, partitioned hot table on the retention column.
- The offload pipe - enable CDC on the transactional tables; land changes in S3; a Snowflake load warehouse ingests them; verify row counts reconcile.
- Isolation - reporting warehouse separate from the load warehouse in Snowflake; Resource Governor pools on the primary; the app reads routed by consistency need.
- Retention - the sliding window: partitions switch out monthly to an archive table, then to the lake; the hot set stays small.
- Load test before launch - see below.
Monitoring
- Engine - wait-stats deltas,
PAGEIOLATCH/WRITELOG, blocking chains, Query Store regressions. - Infrastructure - CloudWatch:
CPUUtilization,Read/WriteLatency,IOPSvs provisioned,FreeStorageSpace; Performance Insights to lay waits over metrics. - Pipeline - CDC lag, S3 file arrival, Snowflake load duration, freshness lag on reports.
- The business metric - p99 read latency and report freshness, the two numbers the design promised.
Failure recovery
| Failure | Detection | Recovery |
|---|---|---|
| Primary instance fails | RDS event + connection loss | Multi-AZ automatic failover - the RTO 15-min assumption is tested here |
| Replica falls behind | Replication-lag metric | Reads are stale but up; route read-your-writes to primary until caught up |
| CDC pipeline stalls | Lag + file-arrival gap | Reports go stale, not wrong; the OLTP tier is unaffected - the offload’s blast radius is contained |
| Log volume fills | FreeStorageSpace alarm |
The write path stalls - the single worst incident; sized and alarmed against |
The load-test plan
- Baseline - the assumed profile replayed: 80/20, peak concurrency, sized to the assumptions.
- The peak - 1.5x and 2x the assumed peak, held for a window; p99 must stay in target.
- The adversarial - a mass update, a heavy report, and a CDC burst run together against the peak - because that is when the shared substrate (log, tempdb) is actually tested.
- The regression guard - Query Store on, baselines recorded; every test produces a before/after the next deploy is compared against.
The defence - where this design breaks
The last and most important deliverable. You state, in writing:
- The next bottleneck - at this profile it is the single-writer log on RDS; when writes exceed ~the provisioned-io2 ceiling, the only honest move left is sharding, and the design says so.
- What it cannot do - it cannot give a report real-time data (CDC lag is real); it cannot scale writes horizontally (single writer); it cannot be cheap and Multi-AZ (the synchronous commit costs both latency and money).
- The blast radius - a CDC stall degrades freshness only; a primary failure is the worst event; a sharding decision later is a rewrite, not a reconfiguration - stated, not discovered.
An architecture whose designer can list its weaknesses is a defensible one. The exercise is complete when you can hand this document to a sceptical engineer and survive the questions - that is the standard the whole course was building toward.
Guided practice
A paper exercise: draft the skeleton of your own capstone document - every section named, the key line written for each - before designing anything. Work each step and check yourself before moving on.
- Write your workload assumptions first. Fill the profile table with your numbers, one row per dimension. Check: every row carries a number and a “rules in or out” note - read/write ratio, transaction size, growth, concurrency, latency, consistency, retention, availability. If a cell holds an adjective, revisit the assumptions table - a design without assumed numbers cannot be evaluated.
- Produce two real candidates. Genuinely different architectures, not one design with two names. Check: for example the SQL Server-centric option (one engine, simplest operations) versus the hybrid (CDC to S3, Snowflake for reporting, the lake for cold data). If your two candidates differ only in instance size, revisit the alternatives section - the defence is meaningless when only one design was ever considered.
- Score both on all ten criteria. Build the matrix and fill every cell. Check: all ten rows per candidate, including operability and failure modes - and the honest result is a split, not a sweep: the hybrid wins concurrency and reporting latency, the single engine wins operability and cost, for this profile. If one column wins every row, revisit the scoring - a clean sweep usually means the matrix was back-filled.
- Draft the failure-recovery table. One row per failure: detection and recovery. Check: at least the four the reference design carries - primary instance fails (Multi-AZ failover, where the RTO assumption gets tested), replica falls behind, CDC pipeline stalls, and the log volume fills, the single worst incident because the write path stalls. If a row has recovery but no detection, revisit the table - an undetected failure has no recovery.
- Write the defence’s three statements. The deliverable the whole exercise exists for. Check: the next bottleneck named (the single-writer log at this profile, with sharding stated as the only honest move past the provisioned ceiling), what the design cannot do (real-time reports through the CDC lag, horizontal write scale, cheap and Multi-AZ), and the blast radius (a CDC stall degrades freshness only; a later sharding decision is a rewrite, not a reconfiguration). If your defence lists strengths, revisit the defence section - the weaknesses are the submission.
Check your understanding
Ordered easy to hard. Answer each before reading the answer; a wrong answer names where to look.
- Why must the workload assumptions be written before any design? A design without assumed numbers cannot be evaluated - the architecture follows from the profile, and the table’s right-hand column exists to show what each number rules in or out. If you started with the diagram, revisit the assumptions section.
- For the example profile, which candidate wins which criteria - and why does the answer not generalise? The hybrid wins concurrency (analytics isolated on its own warehouse) and reporting latency (heavy queries off the OLTP engine); the single engine wins operability and cost (one platform, one pipeline less). Neither is universally right - the profile decides, so a different profile can legitimately reverse the choice. If you think the hybrid is “the correct architecture”, revisit the alternatives section.
- Why are the reporting and load warehouses kept separate in the reference design? So ingestion and queries never contend - the load warehouse does the ingest work while a separate warehouse serves analysts, keeping reports off the transactional engine entirely. The design’s promise is that reports cannot starve transactions; sharing one warehouse would reintroduce the contention a layer down. If you merged them to save money, revisit the isolation step of the implementation plan.
- The failure table calls the log volume filling “the single worst incident”. Why that one? Because it stalls the write path - every write stops - while a primary failure is handled by Multi-AZ failover automatically. The design sizes and alarms against it precisely because the write path is the thing the platform exists to serve. If you ranked the primary failure worst, revisit the failure-recovery table - a detected and automated event is not the scariest row.
- Why does the defence call a later sharding decision “a rewrite, not a reconfiguration”? Because sharding moves ownership to the application - the shard map, routing and cross-shard semantics stop being the engine’s problem - so it cannot be adopted by changing a setting. Writing that down now is what the blast-radius section is for. If the phrasing sounds alarmist, revisit the defence’s third item.
Section close - the stage project and the debrief
Project: the defended platform document. The deliverable is the complete document this lesson scaffolds, written for a business profile of your own choosing: the numbered workload assumptions, two candidates scored on all ten criteria, the chosen design with each platform’s responsibility, the implementation plan, the monitoring plan, the failure-recovery table, the load-test plan, and the three-part written defence. Walkthrough: build it in the lesson’s order - assumptions, candidates, design, plans, defence last - and convert every adjective to a number before it is allowed into the document. Where people get stuck: the defence section gets written last and thinnest - the next-bottleneck line is skipped because naming it feels like admitting the design fails, when naming it is precisely what is being assessed - and the two candidates converge into one design with two names, which makes the scoring theatre rather than a decision.
Debrief. This is the end of the curriculum, so the debrief is at programme scale. You can now characterise a workload in eleven measured dimensions; walk the scaling ladder in order and predict where the bottleneck migrates; decide when analytics leaves the engine and which platform earns the workload; score candidate architectures on all ten criteria and write the defence; govern CPU, memory and I/O on a live instance; run an incident from detection to documentation; reproduce the failure modes in a lab and measure the fix; and produce a full platform design that names its own weaknesses - which is the skill the whole course was building toward. The gaps that honestly remain: every failure you met was rehearsed or simulated, and production arrives combined, unlabelled and under scrutiny; your profiles were written for exercises rather than argued out of a stakeholder who says “it should be fast”; and Snowflake and Databricks have been architectures on a page more often than systems you have operated. What to do after: keep the material current through the Curriculum References section as versions and defaults move, and go find production exposure - real waits, real incidents, real design reviews. The curriculum taught the method; only a running system supplies the volume.
Where SQL Server sits
How this component relates to the rest of the stack. Items without a link are not covered here yet.
Deployed with
Commonly run alongside
- Windows Failover Clustering