You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to collect some metrics on caching for performance optimization and CryptoMaterialsCache currently doesn't provide a way to collect stats such as size, hit, and miss. Could the CryptoMaterialsCache class be wired up to provide something similar to Caffeine or Guava cache such as size() and snapshot()?
Yes, this is a useful feature that we want to implement, though we do not currently have a timeline for when it will be available.
We’ll keep your issue open and provide updates here when we have more. Thanks again, and if there’s any other information about the use case that you want to share, we’ll take the feedback as we work on the feature.
I'd like to collect some metrics on caching for performance optimization and CryptoMaterialsCache currently doesn't provide a way to collect stats such as size, hit, and miss. Could the CryptoMaterialsCache class be wired up to provide something similar to Caffeine or Guava cache such as size() and snapshot()?
Here are some examples:
https://github.com/ben-manes/caffeine/blob/master/caffeine/src/main/java/com/github/benmanes/caffeine/cache/stats/CacheStats.java#L60
https://github.com/google/guava/blob/master/guava/src/com/google/common/cache/LocalCache.java#L4913
https://github.com/google/guava/blob/master/guava/src/com/google/common/cache/AbstractCache.java#L239
The text was updated successfully, but these errors were encountered: