Cloud Tech by Victor

System Design

The distributed-systems building blocks used to reason about scale, availability, and trade-offs. Ordered from foundational to advanced, 7 docs in this category.

Docs in System Design

System DesignIntermediate

Idempotency in Distributed Systems

Why Stripe returns the exact same response, error included, for a reused idempotency key instead of retrying the operation, and why reusing that same key with different parameters is treated as an error, not a new request.

Updated 2026-07-24
3 min read
System DesignIntermediate

Message Queues & Event-Driven Architecture

Why a visibility timeout, not a delete, is what actually protects a message from being processed twice, and why "at-least-once delivery" means your consumer has to handle duplicates even when everything is configured correctly.

Updated 2026-07-24
3 min read
System DesignIntermediate

Rate Limiting Algorithms

How the token bucket algorithm AWS API Gateway actually uses separates a steady-state rate from a burst allowance, and why a request only fails once the bucket is genuinely empty, not the instant the average rate is exceeded.

Updated 2026-07-24
4 min read
System DesignIntermediate

The CAP Theorem

Why partition tolerance isn't actually optional for a distributed system, and why that leaves only a choice between consistency and availability once a real network partition happens, not a free choice among all three properties all the time.

Updated 2026-07-24
4 min read
System DesignAdvanced

Consistent Hashing

Why placing hosts and keys on a hash ring means adding or removing one host out of N only remaps roughly 1/N of the keys, instead of the near-total remapping a plain modulo hash would force on every single change.

Updated 2026-07-24
4 min read
System DesignAdvanced

Database Sharding

Why a monotonically increasing shard key like a sequential ID or timestamp routes every new write to the same shard, and why hashed sharding fixes that distribution problem at the cost of range queries no longer targeting a single shard.

Updated 2026-07-24
4 min read
System DesignAdvanced

Load Balancers

How load balancers distribute traffic across servers, algorithms, health checks, Layer 4 vs Layer 7, and the failure modes that show up at scale.

Updated 2026-07-12
3 min read