Design a Global Edge Deployment / Hosting Platform

Problem

Design Vercel's core: build, deploy, and serve frontend apps globally at the edge with instant rollbacks.

Requirements

Functional:

  • Git push -> build -> deploy
  • Serve static + serverless/edge functions globally
  • Atomic deploys with instant rollback
  • Preview deployments per branch/PR

Non-functional:

  • Millions of deployments, global traffic
  • Fast cold starts at the edge
  • Zero-downtime deploys

Discussion points

  1. Build pipeline and artifact storage
  2. Immutable atomic deploys + instant rollback
  3. Edge network: static CDN + edge/serverless functions
  4. Preview environments per commit
  5. Caching/invalidation (ISR) and cold-start mitigation
added …
LeaderboardSalaryAccount