envoyproxy/xds-relay

Handle potential thundering herd problem on cache evict

Open

#71 opened on Apr 25, 2020

 (0 comments) (0 reactions) (0 assignees)Go (29 forks)auto 404
help wanted

Repository metrics

Stars
 (135 stars)
PR merge metrics
 (PR metrics pending)

Description

On cache evict, orchestrator currently closes upstream and all downstream watches for the key that's getting evicted. This could be problematic if there's a lot of downstream connections for the same aggregated key. This will cause a "thundering herd" problem where all downstreams attempt to re-establish a connection with xds-relay. We need to evaluate how to handle this.

Contributor guide