Design a Static Site Hosting & CI/CD Platform
Problem
Design Netlify's core: build static sites from Git and serve them globally with atomic deploys.
Requirements
Functional:
- Git push -> build -> deploy
- Global CDN serving with cache invalidation
- Atomic deploys + instant rollback
- Deploy previews per PR; serverless functions
Non-functional:
- Millions of sites, global traffic
- Zero-downtime deploys
- Fast cache invalidation
Discussion points
- Build pipeline and artifact storage
- Immutable atomic deploys + rollback
- Global CDN + cache invalidation
- Deploy previews
- Edge/serverless functions
added …