Skip to content
SIRJAHIBENTLEY

Architecture · interactive

Every architecture is a set of trade-offs.

Switch scenarios and watch the topology change. Each option lists its trade-offs, risks and assumptions. Real figures come from measuring your workload.

ADemo 01

Cost-Optimized vs. Resilient vs. High-Scale.

Scenario · reference web platform

  1. 01

    Users

    web · mobile

  2. 02

    CDN + static

    edge cache

  3. 03

    API gateway

    throttling · auth

  4. 04

    Functions

    scale to zero

  5. 05

    Serverless SQL

    auto-pause

  6. 06

    Daily snapshot

    same region

Connects

  • Users → CDN + static
  • Users → API gateway
  • API gateway → Functions
  • Functions → Serverless SQL
  • Serverless SQL → Daily snapshot

Cost-Optimized

Single region, managed and serverless-first. Pay for what runs; accept a smaller blast-radius budget.

Trade-offs

  • Lowest idle spend: compute and database can scale toward zero outside business hours.
  • Cold starts add latency to first requests after idle periods.
  • Fewer moving parts make it easy for a small team to own.

Risks

  • A regional outage takes the service down; recovery depends on snapshot restore time.
  • Per-request pricing can overtake provisioned capacity at sustained high volume.
  • Function concurrency limits can throttle traffic spikes if not reserved.

Assumptions

  • Traffic is spiky or business-hours shaped.
  • Hours of downtime and up to a day of data loss are tolerable (RTO/RPO agreed explicitly).
  • Workload is stateless at the compute layer.

Choose when

Early products, internal tools, MVPs and workloads with uneven demand.

BDemo 02

Private AI inference, step by step.

Switch between offline and hybrid to see how data, compute and trust boundaries shift.

Private AI inference pipeline · concept

Step 1 · User

Input stays on the host machine. Nothing leaves the local boundary.

Fully offline: data, index and model weights stay on hardware the user controls. Trade-off: model size and speed are bounded by the host.

Method note

In a real engagement, diagrams start a conversation. Assumptions become stakeholder questions, risks get owners, and the chosen option is recorded as an architecture decision.