Senior Track Roadmap

Database: multi-region strategy

This course looks at the part of response time spent crossing distance before a server does any work. It covers round-trip floors between regions, the handshakes a first request pays, and why TCP slow start makes payload size a question of round trips. It compares three responses to distance: a CDN, edge functions and regional databases. It then examines where writes live, what a second region drags along (sessions, jobs, files, routing), and what this single-region application behind Cloudflare should do next.

What you'll learn

  • ✓Why round-trip time sets a physical floor on response time
  • ✓How handshakes and TCP slow start turn distance into several round trips
  • ✓Why origin count matters more than file count when loading assets
  • ✓The costs of CDNs, edge functions and regional databases
  • ✓How the location of writes classifies multi-region designs
  • ✓What sessions, jobs, files and routing require from a second region
Free preview · Lesson 1 4 min read

The distance you cannot optimize

The other courses in this series have been about work the server does. This one is about the part of the response time that happens before the server is involved at all.

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...