TopVideoHub Moves Video Region Routing to etcd, Cuts Config Lag from Minutes to Seconds
TopVideoHub, which aggregates trending video across thirteen Asia-Pacific markets, faced a critical routing failure in March when its Singapore origin began serving stale content to Japanese and Korean edges. Fixing the issue required a full deployment cycle — git commit, CI run, server push, and cache purge — taking roughly twenty minutes for a change that should have taken seconds. The company's region routing table was hardcoded into a PHP config array baked into each deploy artifact, making live adjustments impossible. To solve this, the team migrated routing configuration to etcd, a distributed key-value store offering sub-second propagation via watches, automatic node expiry via leases, and safe concurrent writes via atomic transactions. The new setup stores only lightweight control-plane data such as routing weights and origin health in etcd, leaving video payloads untouched in their existing SQLite and origin infrastructure.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in