System Design

Design systems the way architects do

9 topic groups, 52 topics. Every topic walks the same path: requirements, estimates, a diagram, deep dives, trade-offs, and how to build it on Azure.

Free for everyone. If it helped you, a coffee helps underprivileged children learn too.

Buy me a coffee (opens in a new tab)

Fundamentals

The vocabulary every design discussion uses, and how to estimate before you draw.

  • Scalability: vertical vs horizontal BeginnerComing soon
  • Latency vs throughput BeginnerComing soon
  • Availability and SLAs BeginnerComing soon
  • CAP and PACELC IntermediateComing soon
  • Consistency models IntermediateComing soon
  • Back-of-the-envelope estimation IntermediateComing soon

Building blocks

The components that appear in almost every architecture diagram, and when to reach for each.

  • DNS and load balancers BeginnerComing soon
  • CDN and edge caching BeginnerComing soon
  • Caching strategies IntermediateComing soon
  • API gateway and rate limiting IntermediateComing soon
  • SQL vs NoSQL BeginnerComing soon
  • Replication and sharding AdvancedComing soon
  • Consistent hashing AdvancedComing soon
  • Message queues and streams IntermediateComing soon
  • Object storage and search IntermediateComing soon

Architecture patterns

Proven shapes for services and data, with the trade-offs nobody puts on the slide.

  • Monolith vs microservices BeginnerComing soon
  • Event-driven architecture IntermediateComing soon
  • CQRS and event sourcing AdvancedComing soon
  • Saga and distributed transactions AdvancedComing soon
  • Circuit breaker, retries and idempotency IntermediateComing soon
  • Strangler fig migration IntermediateComing soon

Reliability and operations

Keeping a system up, knowing when it is not, and recovering when it falls over.

  • Observability: logs, metrics, traces BeginnerComing soon
  • SLOs and error budgets IntermediateComing soon
  • Disaster recovery and backups IntermediateComing soon
  • Multi-region design AdvancedComing soon
  • Deployment strategies IntermediateComing soon

Security design

Identity, secrets and isolation designed in from the first diagram.

  • Authentication vs authorization BeginnerComing soon
  • OAuth 2.0 and OpenID Connect IntermediateComing soon
  • Secrets management IntermediateComing soon
  • Zero trust AdvancedComing soon
  • Multi-tenant isolation AdvancedComing soon

Case studies

Classic interview and real-world systems, designed end to end.

  • URL shortener BeginnerComing soon
  • Rate limiter IntermediateComing soon
  • Chat system IntermediateComing soon
  • News feed IntermediateComing soon
  • Notification service IntermediateComing soon
  • Search autocomplete IntermediateComing soon
  • Payment system AdvancedComing soon
  • Video streaming AdvancedComing soon
  • Ride-hailing AdvancedComing soon

AI system design

Designing with LLMs in the loop: retrieval, agents, cost, latency and guardrails.

  • RAG pipelines IntermediateComing soon
  • LLM gateway IntermediateComing soon
  • Agent architectures AdvancedComing soon
  • Evaluation and guardrails AdvancedComing soon
  • Cost and latency control IntermediateComing soon

Mobile and client design

Apps that work offline, sync safely and talk to APIs built for phones.

  • Offline-first sync IntermediateComing soon
  • Push notifications at scale IntermediateComing soon
  • .NET MAUI and Flutter app architecture IntermediateComing soon
  • API design for mobile clients BeginnerComing soon

Azure mapping

Every pattern above, mapped to the Azure services that implement it.

Azure Academy →
  • Azure building blocks cheat sheet BeginnerComing soon
  • Azure reference architectures IntermediateComing soon
  • Well-Architected Framework in practice AdvancedComing soon