-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add abstract caching registry #3940
Copy link
Copy link
Closed
Labels
kind/featureNew feature or requestNew feature or request
Description
Metadata
Metadata
Assignees
Labels
kind/featureNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
Several registry implementations employ client-side caching of registry proto, for example
sqlandsnowflake. The code for caching is virtually identical and repeated.Describe the solution you'd like
Add an abstract layer on top of base registry that implements caching logic and lets subclasses handle the logic only for the cases when there's a cache miss.