envoyproxy / xds-relay

Caching, aggregation, and relaying for xDS compliant clients and origin servers
Apache License 2.0
132 stars 29 forks source link

Dequeue stale responses #206

Closed jessicayuen closed 3 years ago

jessicayuen commented 4 years ago

When sending the response to clients, drop the older response currently in the transport queue, so that we always send the latest response.

Also,

Signed-off-by: Jess Yuen jyuen@lyft.com

jyotimahapatra commented 4 years ago

https://github.com/envoyproxy/xds-relay/pull/205 might have conflicts with changes in this PR.

jessicayuen commented 4 years ago

@jyotimahapatra Which one do we want to merge first?