System Design Interview, System Design Concepts, System Design, Design Tinyurl, Design Bitly.
tolerance, and scalability. Considering that our 7-character set has 3.5T unique URLs, we can use key-based sharding to distribute the URL records evenly across multiple shards. Let's say we distribute it across 3 shards, and each shard will store approximately 1.16T URLs. This ensures scalability