11.1 · Why reference architectures exist
A reference architecture (RA) is a generalised, technology-neutral or vendor-specific blueprint that documents the components, integrations, data flows, and quality-attribute tactics for a recurring class of solution. RAs reduce risk by encoding mistakes already made by thousands of earlier projects.
- Standardisation. A shared vocabulary across teams ("standard e-commerce" means roughly the same thing in every kick-off).
- Speed. A 6-week head start on architecture; you skip directly to context-specific trade-offs.
- Defensibility. Auditors and architecture boards accept "based on AWS RA for SaaS multi-tenant" faster than a bespoke design.
- Hiring leverage. Engineers recognise patterns; onboarding accelerates.
11.2 · Where to find them
| Source | URL / location | Strengths |
|---|---|---|
| AWS Reference Architecture Library | aws.amazon.com/architecture/reference-architecture-diagrams | 500+ vetted diagrams; Well-Architected lens cross-refs. |
| Azure Architecture Center | learn.microsoft.com/azure/architecture | Industry blueprints; Well-Architected workloads; CAF-aligned. |
| Google Cloud Solutions / Jump Start | cloud.google.com/architecture | Deep on data & AI; Terraform deployable solutions. |
| Oracle Architecture Center | docs.oracle.com/solutions | Enterprise workloads; Exadata + apps. |
| IBM Architecture Center | ibm.com/architectures | Hybrid + mainframe modernisation; FS-Cloud. |
| Microsoft Industry Reference Architectures | Cloud for Retail / FSI / Healthcare / Manufacturing / Sustainability | Industry data models + workflows. |
| AWS Well-Architected Lenses | SaaS, IoT, ML, Serverless, FSI, Healthcare, GenAI, HPC, Games, Hybrid | Industry-specific Q&A on top of WAF pillars. |
| CNCF Landscape | landscape.cncf.io | Open-source component picker for cloud-native RAs. |
| TOGAF / The Open Group | opengroup.org/architecture | Vendor-neutral III-RM and TRM models. |
11.3 · The 20 reference architectures every architect should know
Memorise these. They cover roughly 80 % of solutions a working architect will scope in a career. Each card lists the dominant pattern and the key components.
1 · Multi-tier web app classic
LB → web tier → app tier → primary RDBMS + cache. The default for CRUD systems; the baseline against which others are compared.
2 · Static site + serverless API jamstack
S3/Blob/GCS + CloudFront/Front Door + Lambda/Functions + API Gateway. Near-zero ops, scales to zero, cents per million requests.
3 · SaaS multi-tenant SaaS
Tenant isolation models: Pool (shared everything), Silo (dedicated per tenant), Bridge (shared compute, isolated data). See AWS SaaS Lens.
4 · E-commerce commerce
PIM → Catalog → Cart → Checkout → Payment → OMS → Inventory → Fulfilment. Stripe/Adyen at the boundary; idempotent order capture.
5 · Marketplace two-sided
Buyers + sellers, KYC/AML, listings, search, escrow, payouts (Stripe Connect), dispute resolution. Trust & safety is the moat.
6 · Mobile + BFF mobile
Native iOS/Android + Backend-for-Frontend (Sam Newman pattern) tailored per channel; OAuth/OIDC; push (APNs/FCM); offline sync.
7 · IoT IoT
Device → MQTT broker (IoT Core) → stream ingest → time-series DB (Timestream, Influx) → analytics → device control plane + OTA.
8 · Event-driven microservices events
Kafka/Kinesis backbone + outbox pattern + schema registry. Loose coupling, async, replayable. See Ch 08.
9 · CQRS + Event Sourcing advanced
Separate write model (events) from read models (projections). Full audit, time travel; high cognitive cost — reserve for true need.
10 · Real-time analytics streaming
Kafka → Flink/Spark Streaming → ClickHouse/Druid/Pinot → BI (Superset, Looker). Sub-second dashboards on billions of rows.
11 · ML platform (MLOps) ML
Feature store (Feast, Tecton) → training (SageMaker, Vertex) → registry → serving (KServe, BentoML) → monitoring (Evidently, Arize).
12 · LLM / GenAI app AI
Vector DB (Pinecone, pgvector) + RAG + agent + guardrails + observability (Langfuse). See the companion AI Codex.
13 · Data lakehouse data
Object store (S3/GCS) + open table format (Iceberg, Delta, Hudi) + Spark/Trino + catalog (Glue, Unity, Polaris).
14 · EHR / healthcare regulated
FHIR R4 APIs, HL7 v2 ingress, terminology services (SNOMED, LOINC), HIPAA controls, BAA-covered services only.
15 · Fintech ledger money
Double-entry ledger, immutable journal, idempotency keys, end-of-day reconciliation, regulator-grade audit trail.
16 · Open Banking (PSD2) regulated
Strong Customer Authentication (SCA), Account Information Service (AISP), Payment Initiation Service (PISP), eIDAS certificates.
17 · Streaming media video
Origin + packager (HLS/DASH) + CDN + adaptive bitrate (ABR) + DRM (Widevine, FairPlay, PlayReady) + analytics.
18 · Omni-channel commerce commerce
Headless commerce (commercetools, Shopify Hydrogen) + CDP (Segment, mParticle) + CMS + unified inventory across channels.
19 · B2B integration hub B2B
SFTP + AS2 + EDI (X12, EDIFACT) + REST/SOAP APIs + partner portal + monitoring. Often MFT product (IBM Sterling, Mulesoft, Axway).
20 · Internal Developer Platform platform
Backstage portal + GitOps (Argo CD, Flux) + paved roads + golden paths + IDP metrics (DORA, SPACE). See Ch 17.
11.4 · How to read a reference architecture — what to copy, what to question
| Element | Copy as-is | Question hard |
|---|---|---|
| Component decomposition | Usually yes — it captures separation of concerns the industry has converged on. | Whether every component is needed at your scale (don't run a Kafka cluster for 50 events/day). |
| Vendor-specific service names | Trust the vendor's recommendations within their ecosystem. | Whether you must use that vendor (RA bias). |
| Data flows & sequencing | Yes — failure paths and idempotency choices are subtle. | SLA assumptions (e.g. "this assumes sub-100ms inter-service latency"). |
| Quality attribute tactics | Yes — these encode hard-won lessons. | Whether your QAs match the RA's assumed QAs. |
| Capacity numbers | Use as starting estimate. | Always benchmark against your real workload. |
| Security controls | Yes — IAM, encryption, segmentation patterns transfer. | Compliance-specific controls for your jurisdiction. |
11.5 · Customising — the 70/30 rule
An effective adoption looks like this:
- Pick the closest RA — closeness measured by domain (e-commerce vs SaaS vs IoT), scale, regulatory regime, and existing tech estate. If two RAs both fit, blend.
- Map your constraints — sovereignty, latency, existing skills, vendor relationships, budget. Each one may flip a component choice.
- Substitute components — replace Kinesis with Kafka, Cognito with Auth0, RDS with on-prem Oracle if that's where you are. Keep the shape; swap the parts.
- Run a lightweight ATAM (Ch 05) — for each quality attribute, confirm the customised version still satisfies the scenario.
- Document deviations — every place you differ from the RA becomes an ADR explaining why. Future architects will thank you.
How to know if an RA is mature enough to use
Three signals: (1) the publisher has updated it within 18 months, (2) at least three named customer references exist in case studies, (3) deployable IaC (Terraform / CDK / Bicep / Pulumi) is provided. If only the diagram exists, treat it as inspirational only.
Why not just build from scratch?
Because your problem is not as unique as it feels in the first month. Building from scratch loses you ~6 months and surfaces the same failure modes the RA already encodes (idempotency, retries, schema evolution, tenant isolation). Reserve from-scratch for the part of your system that is genuinely novel — usually a single bounded context.