System Design Interview, System Design Concepts, System Design, Design Tinyurl, Design Bitly.
that we will typically have 10x more reads than writes, that means that we'll be getting more than 10 × 1000 = 10000 reads per second. Now, we need to figure out how many characters will give us enough unique short URLs for our 10-year volume. Given that the character set size is 62, the length of