System Design Drill Day 14: URL Shortener and Unique ID Generation
How to design a URL shortener: base62 codes, ID generation strategies, 301 vs 302 redirects, Redis caching and async click analytics.

How to design a URL shortener: base62 codes, ID generation strategies, 301 vs 302 redirects, Redis caching and async click analytics.

How to design a notification service with per-channel workers, priority queues, preferences, dedup and signed webhook retries.

How circuit breakers, timeouts and bulkheads keep a checkout alive when the payment gateway or SMS provider starts failing.

Why retries make duplicates inevitable, and how idempotency keys stop double charges and double stock decrements.

The main rate-limiting algorithms, how to run them atomically across servers with Redis and Lua, and when to fail open or closed.

How to go from one Laravel server to three behind a load balancer: algorithms, health checks, stateless servers and safe deploys.
