URL Shortener
Studies in this cluster, in series order. Each one keeps its own URL.
High-level design
HLD interview and machine-coding scale-up: capacity, APIs, data model, caching, sharding, and the path from a single-node solution to production.
URL Shortener
3 studies- 1.URL Shortener - Spec, Flask API, SQLite & ConceptsMachine-coding URL shortener hub: Flask+SQLite spec, steps, HTTP contracts, concepts, create/redirect/delete/stats.
- 2.URL Shortener - Flask + SQLite Full Solution, Concurrency & TestsFull Flask+SQLite URL shortener with ownership delete, TTL, atomic hit UPDATE, concurrent hit tests, HTTP status contracts.
- 3.URL Shortener Scale-up HLD - ID Generation, Caching, Sharding & AnalyticsScale-up HLD: ID generation compared, Redis cache-aside, sharding, 301 vs 302, async analytics; cross-link existing pages.