Catalogue / pushover-2017-dns-load-balancing

One person spreads the Pushover API over two distant servers with DNS, proxying the few conflict-prone calls to one of them

Pushover, 2017. Push notification API on two servers.

Organisation
Pushover
Evidence
Reported from production
Source
Pushing DNS into the Cloud

joshua stein (jcs.org), published 2017-07-10 (The page says posted on july 10th, 2017 and last updated on july 7th, 2017.)

Records

Decision#d1

Balance load between two distant servers through DNS, not through a load balancer

Failure#f1

The same API request reached both master-master nodes and conflicting rows stopped replication

Decision#d2

Proxy the calls that can conflict from the secondary server to the primary inside Rails

Decision#d3

Move DNS from three self-run servers to Route 53 with health checks that remove a failed node

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.