By the last page, this is the design you will have built. Drag it, or Show all, to see every part.
Lesson · 13 pages · about 12 min
Design an ad click aggregator
Count a billion clicks a day per ad per minute: redirect first, log every click, count in memory and write once a minute, then make the bill exact overnight.