Building global web apps
with multi-region hosting

Jordi Boggiano
@seldaek

Building the internet for over 10 years
  → seld.be

Composer lead and other OSS
  → github.com/Seldaek

Dev & Ops at Teamup.com

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

Awareness

Devs and stakeholders do
not suffer from latency

Case Studies