The technical challenges of serving docs at Google's scale
summary
Code.google.com starts in 2005 as a static ECT-based site and by 2010 faces 45-minute builds and fragile global parsing: typos and square brackets break everyone. Growth hits 60–80k files across 100+ developer products, disk IO and overlapping cron jobs cause frequent failures. Team replaces the site with devsite built on App Engine + Django (using django-nonrel), publishes per-directory instead of sitewide, migrates content, and contains unsafe demos with framebox iframe sandboxing — migration finishes in time for IO 2012 and stabilizes publishing.
AI-written summary · about
chapters (16)
- 0:00Introduction and speaker background
- 1:05Why this talk matters
- 3:32Origins of code.google.com
- 7:26Early scaling assumptions
- 9:12Build failures and bottlenecks
- 12:00Syntax errors and fragility
- 16:11Security risks in demos
- 19:02Google I/O 2011 pressure
- 21:09Decision to rebuild CMS
- 23:18Building developers.google.com
- 26:12Dynamic content and templates
- 28:44Per-page builds and isolation
- 30:52Mitigating XSS vulnerabilities
- 32:17Migration from old to new site
- 35:51Outcome and lessons learned
- 37:39Key takeaways and Q&A
