TweakCode
Design Method lessons

Estimation · Design drill

Size a URL shortener

Assume 100 million new short links a month and ten redirects per new link. Keep the data for five years. A mapping row is about 500 bytes.

Pro

The rest of this is on Pro

This drill is on Pro. The lesson that introduces it stays open when that lesson is free.