# Scaling system overview

# Strategies

Strategies

  • Stateless services
  • Horizontal scaling
  • Load balancing
  • Auto scaling
  • Caching
  • Database replication
  • Database sharding
  • Async processing

# DB Scaling

DB Scaling

  • Indexing
  • Materialized views
  • Vertical scaling
  • Sharding
  • Replication
  • Database caching
  • Denomarlization

# Replication

DB Replication

# Sharding

DB Sharding

# Multiple regions

traffic routing

# Load balancing

# Use cases

LB use cases

# Algorithms

Algorithms

# Case studies

# Figma

Figma

# Scale a website

Scale a website