All jobs / Backend developer / Architecture

Backend developer interview question · 0–1 years

How do you estimate storage for 100 million short URLs?

The strongest answer

Pick a per-record size — say a few hundred bytes for the code, the long URL and metadata — multiply, and round: a few hundred bytes times 100 million is tens of gigabytes, so one database handles it and the interesting problem is reads, not storage

Why it works

Right. Rough units, a multiplication, a conclusion.

What a good answer covers

Answers that fall short

Who gets asked this

More Architecture questions