envoyproxy/envoy
View on GitHubproportional reconnect to new host for random load balanced xDS
Open
#9,575 opened on Jan 6, 2020
area/load balancingarea/xdsdesign proposalhelp wanted
Repository metrics
- Stars
- (27,997 stars)
- PR merge metrics
- (Avg merge 8d) (378 merged PRs in 30d)
Description
Title: proportional reconnect to new host for random load balanced xDS
Description: When using random load balancing for the xDS cluster, new hosts entering the pool will sit idle until clients reconnect. It'd be a neat feature if each xDS client noticed the new host being added (or going healthy if health checks are used) and did a 1/N "dice roll" to decide whether to reconnect to the new host. That way new hosts would be added into rotation quickly and you'd quickly converge to roughly even load across the pool.