SysDesigner

Design a Content Delivery Network (CDN)

Medium

Design a content delivery network that caches and serves static content to users around the world with low latency.

Functional Requirements

  • Cache and serve static assets (images, JS, CSS)
  • Serve content from edge locations nearest to users
  • Update or invalidate cache on content change

Non-Functional Requirements

  • Serve content in <100ms globally
  • Support auto-scaling based on load
  • 99.999% uptime and high fault tolerance

Define Entities

Define API Routes

Components