Catalogue / netflix-2013-active-active-multi-region

Netflix runs its user call path active-active across two US AWS regions with geo-DNS, Zuul routing and Cassandra replication

Netflix, 2013. Multi-regional active-active deployment of the services on the user call path.

Organisation
Netflix
Evidence
Reported from production
Source
Active-Active for Multi-Regional Resiliency

Netflix Technology Blog, published 2013-12-02 (The Medium page shows Feb 12, 2013, but its footer says it was first published at techblog.netflix.com on December 2, 2013.)

Records

Decision#d1

Deploy every service on the user call path active-active in two AWS regions, stateless and with no cross-region calls

Decision#d2

Steer users with directional UltraDNS in front of a Route53 layer, both driven through Denominator

Decision#d3

Extend Zuul to catch mis-routed requests, run a region in failover mode, and shed requests above a set traffic level

Decision#d4

Rely on Cassandra's asynchronous multi-region replication for user data after a cross-region read test

Decision#d5

Invalidate memcached entries in the other region over SQS instead of replicating the cache multi-master

Decision#d6

Prove regional isolation with Split-brain and Chaos Kong exercises on production

Failure#f1

A middle-tier cluster in one region became mostly unresponsive and users were failed over to the other region

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.