Building Service Discovery and Routing for LinkedIn's Edge Proxy with Env...
summary
Migration to Envoy replaces Zookeeper with a in-house XDS server that consumes Kafka heartbeats to publish live endpoints, enabling real-time discovery at the edge. A custom DSL handles tens of thousands of legacy routing rules using a first match wins model and a path-key flat hash map for fast lookups and hot-swap rule databases. Validation uses four layers — sandboxes, CI/PR gates, scheduled jobs, and production traffic simulation — to drive a safe, incremental rollout.
AI-written summary · about
chapters (18)
- 0:00Introduction and agenda
- 1:08Current traffic stack architecture
- 2:53Request flow through legacy stack
- 4:39Drawbacks of existing system
- 5:22Why migrate to Envoy
- 6:47New Envoy-based architecture
- 7:51Request flow in Envoy
- 8:53Core Janus architecture
- 9:38Key technical challenges
- 9:59Rule engine design
- 12:27General rule engine architecture
- 14:12Hybrid service discovery
- 16:19XDS control plane integration
- 18:07DNS-based discovery
- 19:28Migration validation strategy
- 20:50Validation infrastructure
- 21:34Future roadmap
- 23:21Q&A and closing
