BLUEPRINT · The Solution Architect's Codex
Ch 11 · Reference Architectures
Chapter 11 · Don't reinvent — start from a published opinion

Reference Architectures — the 70% you don't have to design

A reference architecture is a tested, opinionated blueprint that captures industry consensus and a vendor's strongest preferences. The mature architect steals 70% of it and spends their effort on the 30% that is unique to their business — never the other way round.

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.
Distinction. A reference architecture is a template for a class of system. A solution architecture (your SAD, Ch 03) is the instantiation of one or more RAs against a specific business problem. RAs are generic; SADs are specific.

11.2 · Where to find them

SourceURL / locationStrengths
AWS Reference Architecture Libraryaws.amazon.com/architecture/reference-architecture-diagrams500+ vetted diagrams; Well-Architected lens cross-refs.
Azure Architecture Centerlearn.microsoft.com/azure/architectureIndustry blueprints; Well-Architected workloads; CAF-aligned.
Google Cloud Solutions / Jump Startcloud.google.com/architectureDeep on data & AI; Terraform deployable solutions.
Oracle Architecture Centerdocs.oracle.com/solutionsEnterprise workloads; Exadata + apps.
IBM Architecture Centeribm.com/architecturesHybrid + mainframe modernisation; FS-Cloud.
Microsoft Industry Reference ArchitecturesCloud for Retail / FSI / Healthcare / Manufacturing / SustainabilityIndustry data models + workflows.
AWS Well-Architected LensesSaaS, IoT, ML, Serverless, FSI, Healthcare, GenAI, HPC, Games, HybridIndustry-specific Q&A on top of WAF pillars.
CNCF Landscapelandscape.cncf.ioOpen-source component picker for cloud-native RAs.
TOGAF / The Open Groupopengroup.org/architectureVendor-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.

Anatomy of a typical reference architecture (event-driven SaaS) Edge / CDN API Gateway Microservices Event Bus OLTP + Cache + Search Identity (OIDC) Observability Secrets / KMS Analytics / Lakehouse

11.4 · How to read a reference architecture — what to copy, what to question

ElementCopy as-isQuestion hard
Component decompositionUsually 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 namesTrust the vendor's recommendations within their ecosystem.Whether you must use that vendor (RA bias).
Data flows & sequencingYes — failure paths and idempotency choices are subtle.SLA assumptions (e.g. "this assumes sub-100ms inter-service latency").
Quality attribute tacticsYes — these encode hard-won lessons.Whether your QAs match the RA's assumed QAs.
Capacity numbersUse as starting estimate.Always benchmark against your real workload.
Security controlsYes — IAM, encryption, segmentation patterns transfer.Compliance-specific controls for your jurisdiction.
Vendor RAs are not neutral. AWS will pick DynamoDB; Azure will pick Cosmos DB; Google will pick Spanner. The architectural shape usually transfers; the database choice usually shouldn't. Always read at least two vendors' RAs for the same pattern before committing.

11.5 · Customising — the 70/30 rule

An effective adoption looks like this:

Pick RA → Map to local constraints → Substitute components → Run ATAM → Localised SAD
  1. 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.
  2. Map your constraints — sovereignty, latency, existing skills, vendor relationships, budget. Each one may flip a component choice.
  3. 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.
  4. Run a lightweight ATAM (Ch 05) — for each quality attribute, confirm the customised version still satisfies the scenario.
  5. Document deviations — every place you differ from the RA becomes an ADR explaining why. Future architects will thank you.
The 30 % that is yours. Domain model, business rules, integration with legacy, your specific compliance posture, your team's operational maturity. These cannot be referenced from a library; they must be designed.
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.

11.6 · Self-check

Q1 · Which tenant-isolation model in a SaaS RA gives the strongest isolation but the highest per-tenant cost?
Pool
Bridge
Silo
Hybrid Pool
Q2 · You inherit an AWS RA but must run on Azure. What is the architect's first move?
Discard the AWS RA and start from scratch.
Keep the shape, substitute Azure-equivalent services, cross-check against the Azure Architecture Center.
Run AWS services on Azure via custom wrappers.
Insist on switching the project back to AWS.
Q3 · What is the 70/30 rule of reference architectures?
70 % of an architecture is the database, 30 % is everything else.
Use the RA for ~70 % of the design; focus your effort on the 30 % unique to your business.
70 % of projects fail; only 30 % succeed.
Document 70 % up front and 30 % during build.