This question evaluates competency in designing a scalable, reliable, and secure production URL shortening service, covering API design, link data modeling and analytics, ID/token generation, caching and read/write paths, partitioning/replication/consistency choices, rate limiting and abuse mitigation, TTL handling and cleanup, and HA/DR and monitoring. Commonly asked in system design interviews to probe architectural trade-offs for high-read consumer services, it belongs to the System Design domain and emphasizes practical application of distributed systems and operational concepts rather than only conceptual theory.
Design a production-ready URL shortening service that can issue short links, resolve them at low latency, and provide management and analytics. The service must be scalable, reliable, and secure.
Assume a consumer-facing scale with very high read QPS and moderate writes, and that links can be public or managed by authenticated users.
Login required