xds-relay icon indicating copy to clipboard operation
xds-relay copied to clipboard

Ignore nonce in request caching?

Open jessicayuen opened this issue 4 years ago • 0 comments

Cache is in the format aggregated_key: {Response, Requests[]}

Request is a pointer to the entire request object, which means that subsequent (N)ACKs (which increments the nonce) are mutating the cache.

This is not breaking because we clean up prior requests, but there is room for optimization here to not constantly mutate the cache on (N)ACKs.

jessicayuen avatar Jul 28 '20 00:07 jessicayuen