Here is the background: I have a 1 billion users in my external storage and most of them will be accessed at least once in a day, but only some active ...
Here is the background: I have a 1 billion users in my external storage and most of them will be accessed at least once in a day, but only some active ...
So, I was looking at caching methods in Java (Spring). And Guava looked like it would solve the purpose. This is the usecase - I query for some da ...
I use guava cache in my appliation which was written in a hibernate platform. The problem is my cache doesn't work well when loading the data. It does ...
I've previously implemented caching in my application, to be used with three separate get methods. These get methods are getAllProfiles(), getProfiles ...
I've previously asked a question on here on how to implement Guava Cache in Java, seen here. While it has worked, I've recently noticed a bug in the g ...
I want to use Guava caching mechanism to cache request-response pair of webservice calls to improve performance of website. But, before going ahead wi ...
I am trying to implement a simple usecase using Guava caching but facing some issues as shown below: The error I am getting is related to types whi ...
I m using Google Guava from a scala code. And an issue occurs when I m trying to use Int as a key type like in the example: It seems to be fine, b ...
I have a cache that holds multiple values (~ 50 records) from a lookup table and I want to put these values in a cache and I don't want it to expire. ...
I started benchmarking ways to find key by value in Guava cache and I noticed strange behaviour related to concurrency level. I'm not sure if that's a ...
I have a guava cache and I want to figure out whether a particular key already exists or not so that I don't overwrite them? Is this possible to do wi ...
I use grails 3.1.16 build.gradle: while running this code: I am getting the following errors: After running dependency-report, I found out ...
I would like to remove (invalidate) an item after it was read from a cache. So item should be present in a cache until a first read. I've tried addi ...
Is there a way to not cache some specific elements using Guava Cache? I still want the element to be returned, but not cached. For example: ...
I implemented a non-blocking cache using Google Guava, there's only one key in the cache, and value for the key is only refreshed asynchronously (by o ...
I am trying to avoid sleeping the current thread until a ScheduledFuture executes with a 0 delay. Unfortunately, I can't find a hook against the futur ...
In Android Studio, I am using CacheBuilder of Guava library: How to include just this utility? ...
I am using google guava cache with reference-based eviction. I wonder what happened if the cache is full and no element of it is marked as evictable? ...
In the metrics endpoint I get all the caches size, but not hit/miss (as expected from https://docs.spring.io/spring-boot/docs/current/reference/html/p ...
I read this document explaining Guava Cache: CachesExplained. I do understand what refreshAfterWrite and expireAfterWrite are doing. However, while ex ...