Question 8 of 10Pro Only
Design a URL shortening service like bit.ly. Walk through the key components, data model, and how you would handle high traffic volumes.
Sample answer preview
A URL shortening service needs to handle two core operations: creating short URLs from long URLs and redirecting short URLs to the original long URLs. The read-to-write ratio is heavily skewed toward reads, as a short URL is created once but accessed many times.
URL shortenerbase62cachingread replicasmessage queueauto-scaling