Skip to content
$ lynuxpro

SYSTEM DESIGN

System design

The design questions DevOps, SRE, platform and MLOps interviews really ask. Each one has a clear architecture diagram, quick numbers, the key decisions, what breaks, and what the interviewer listens for.

16 designs

DESIGN 01Beginner

A highly available web app on AWS

The classic starter design: load balancer, app servers in two zones, a database with a standby, cache and object storage.

DevOpsSREPlatformMLOps10 min
DESIGN 02Mid

URL shortener (like bit.ly)

Short codes, a read-heavy cache, unique IDs at scale and click analytics. A favourite warm-up question.

SREDevOpsPlatform12 min
DESIGN 03Mid

API rate limiter

Token buckets in Redis at the gateway: protect services, share limits across many servers, and fail safely.

SREPlatformDevOps10 min
DESIGN 04Senior

Monitoring and alerting for 100 services

Prometheus per cluster, long-term storage, logs and traces, SLO dashboards and alert routing that pages only for what matters.

SREPlatformDevOps14 min
DESIGN 05Mid

Centralized logging pipeline

Agents on every node, a Kafka buffer, processing that redacts and routes, hot search for days and cheap archives for months.

SREDevOpsPlatform12 min
DESIGN 06Mid

CI/CD platform for 500 microservices

Shared pipelines, autoscaling runners, caching, security scans, an artifact registry and GitOps deploys across environments.

DevOpsPlatform13 min
DESIGN 07Mid

Container and artifact registry

Content-addressed blobs in object storage, a metadata database, pull-through caches, CVE rescans and replication to other regions.

DevOpsPlatform11 min
DESIGN 08Senior

Secrets management platform

Workload identity instead of passwords, a highly available Vault, KMS auto-unseal, short-lived dynamic credentials and full audit logs.

DevOpsPlatformSRE13 min
DESIGN 09Mid

Safe deployments: canary and feature flags

Shift traffic step by step, compare the canary with stable using real metrics, roll back automatically, and decouple deploy from release with flags.

DevOpsSRE11 min
DESIGN 10Senior

Multi-region active-active service

Serve users from the nearest region, survive a whole region failing, and choose your data consistency on purpose.

SREPlatform15 min
DESIGN 11Senior

Distributed job scheduler (cron at scale)

Run millions of scheduled jobs exactly when due, once, with leader election, a work queue, retries and a dead-letter queue.

SREPlatform13 min
DESIGN 12Senior

Internal developer platform (IDP)

A portal, golden-path templates, self-service infrastructure, shared CI/CD and built-in guardrails, run as a product for developers.

Platform14 min
DESIGN 13Senior

Multi-tenant Kubernetes platform

Many teams on shared clusters, safely: namespaces, RBAC, quotas, network policies, admission policies, node pools and cost per team.

PlatformDevOpsSRE13 min
DESIGN 14Senior

GitOps for a fleet of 100 clusters

One repo, a hub Argo CD with ApplicationSets, cluster labels for targeting, rollout waves and fleet-wide health.

PlatformDevOps12 min
DESIGN 15Senior

ML training platform and feature store

Feature pipelines feeding offline and online stores, orchestrated GPU training, experiment tracking and a model registry that hands off to serving.

MLOpsPlatform14 min
DESIGN 16Senior

LLM inference platform

An AI gateway, per-model queues, GPU servers with continuous batching, caching, autoscaling on tokens and smart routing between models.

MLOpsPlatformSRE14 min