prysm icon indicating copy to clipboard operation
prysm copied to clipboard

[WIP] Remove useless cache locks in LRUs

Open v4lproik opened this issue 1 year ago • 3 comments

What type of PR is this? Enhancement Bug fix

What does this PR do? Why is it needed?

  • This PR does several things:
  • Update the hashicorp LRU cache to the latest stable version
  • Implement a better contract between caches / callers allowing homogenous code to be reused across the different types of cache (miss/hit prom metrics to be consistent, same behaviour when value not found in cache, have the same controls when inserting into the cache eg. nil value are not allowed... etc)
  • Fix some bugs along the way

Which issues(s) does this PR fix? #13723

Other notes for review

v4lproik avatar Mar 24 '24 13:03 v4lproik