Building global web apps
with multi-region hosting

Jordi Boggiano

Building the internet for over 10 years

Composer lead and other OSS

Dev & Ops at

Dev & Ops at Private Packagist

Why host across
multiple regions?

Users in multiple locations

Latency gets really bad

Redundancy against
regional host failure

We use CDN for web assets,
why not the rest?

Why *not* host across
multiple regions?

Database without multi-master setup

Cloud-first DBs and NoSQL help here

Google Spanner, AWS Aurora, DynamoDB, mongoDB

Cloud providers don't help that much

No cross-region Redis replicas on AWS

No cross-region VPCs until late 2017


Devs and stakeholders do
not suffer from latency

Case Studies