AI Wisdom
Learning Track

System Design

Caching, load balancing, messaging, scalability, consistency and distributed patterns — how to architect systems that scale.

6+
Topics
6
Published
100%
Free
Browse articles ↓

6 articlesin System Design

System Design
Consistency Models: From Strong to Eventual (and What CAP Doesn't Tell You)

Consistency Models: From Strong to Eventual (and What CAP Doesn't Tell You)

Advanced

Linearizable, causal, bounded staleness, session, eventual — what each one buys you, Cosmos DB's 5 levels, SQL isolation, read-your-writes, and sagas instead of 2PC.

13 min
Read →
System Design
Message Queues: Delivery Semantics, Idempotency, and the Outbox Pattern

Message Queues: Delivery Semantics, Idempotency, and the Outbox Pattern

Intermediate

Queue vs stream vs topic, why exactly-once is marketing, peek-lock + explicit complete, idempotency tables, the transactional outbox, and Service Bus sessions for FIFO.

14 min
Read →
System Design
Rate Limiting: Token Bucket, Sliding Window, and Distributed Counters

Rate Limiting: Token Bucket, Sliding Window, and Distributed Counters

Intermediate

ASP.NET Core RateLimiter, Redis-backed sliding-window in Lua, picking the right partition key, tiering by endpoint cost, and the 429 + Retry-After contract.

12 min
Read →
System Design
Load Balancing: L4 vs L7, P2C, and Health Checks That Actually Catch Failures

Load Balancing: L4 vs L7, P2C, and Health Checks That Actually Catch Failures

Intermediate

Algorithm matrix (round-robin, least-conn, EWMA, P2C, consistent hash), .NET 9 health checks, outlier ejection, the Azure LB service map, and Polly v8 resilience.

13 min
Read →
System Design
Sharding: Picking a Key You Won't Regret in Two Years

Sharding: Picking a Key You Won't Regret in Two Years

Advanced

Hash vs range vs directory sharding, the shard-key checklist, consistent hashing in C#, dual-write resharding, and when managed Cosmos DB / SQL Hyperscale beats DIY.

14 min
Read →
System Design
Caching in 2026: Cache-Aside, HybridCache, and the Four Failure Modes

Caching in 2026: Cache-Aside, HybridCache, and the Four Failure Modes

Intermediate

Cache-aside vs write-through, .NET 9 HybridCache (L1+L2 with stampede protection), TTL design with jitter, and the four ways caches actually fail in production.

13 min
Read →