Building Global Web Apps with Multi Region Hosting
summary
Three concrete multi‑region setups with working tradeoffs: a low‑cost package mirror network that uses Terraform, AWS, Route 53 plus simple pull‑mirrors and health checks to deliver near‑instant metadata updates; a private‑package CDN that keeps S3, Redis caches and regional read replicas and uses a DB‑backed invalidation queue for immediate cache kills; and a global web app that uses regional read replicas, VPC peering, ProxySQL and nginx reverse‑proxy with connection pooling to proxy writes to a single master — faster reads, still single‑master writes, and higher reliability at the cost of operational complexity.
AI-written summary · about
chapters (9)
- 0:00Introduction and speaker background
- 1:34Why host across multiple regions
- 5:10Challenges with multi-region hosting
- 9:57Developer awareness of latency issues
- 11:03Case study: Packagist.org setup
- 19:25Case study: Private Packagist hosting
- 25:52Case study: Tamedup.com migration
- 45:21Key considerations and trade-offs
- 48:14Q&A and closing remarks
