Coinbase: The QR Code Commercial
Hard · system design problem
A bouncing QR code during the big game: a hundred times the visitors for one minute, sign-ups calling a slow identity vendor, and existing customers checking prices at the same time.
Inspired by Coinbase’s February 2022 Super Bowl ad — a bouncing QR code that drew more than 20 million visits in one minute and briefly took its landing page down. Here: visitors hit the landing page through web-api (reads) and sign up (writes): web-api writes the account to PostgreSQL, then calls the identity-verification vendor (2 s, 600 checks/s) and the email provider synchronously. Existing customers check prices in the app (app-api → PostgreSQL). At T+80s the ad airs: visitors ×100 and the app ×4 for one minute — caches and CDNs you add need most of that minute to warm up. The landing page is the same for everyone; identity checks and welcome emails may complete within ten minutes. The run is graded on the whole minute and its aftermath.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.