Skip to content

Have rls's LRU Cache rely on cleanup process to remove expired entries#10400

Merged
larry-safran merged 6 commits intogrpc:masterfrom
larry-safran:rls_2
Jul 21, 2023
Merged

Have rls's LRU Cache rely on cleanup process to remove expired entries#10400
larry-safran merged 6 commits intogrpc:masterfrom
larry-safran:rls_2

Conversation

@larry-safran
Copy link
Contributor

Fixes b/290931431

@larry-safran larry-safran requested a review from ejona86 July 21, 2023 18:10
Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we confirm this is the difference with other implementations?

@larry-safran larry-safran merged commit afa4d6d into grpc:master Jul 21, 2023
@larry-safran
Copy link
Contributor Author

In Go they don't remove the cache entry when it is expired, so at least for that language we are now doing it the same way, though they go further and reuse the cache entry rather than replace it when they get a response for an existing key.

@larry-safran larry-safran deleted the rls_2 branch July 24, 2023 22:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants