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 am on Redisson version 3.29.0.
I am trying to configure RLocalCachedMap for local reads for the caches that are read heavy.
What I can see is that the time taken by RLocalCachedMap is more or less same as RMap, for multiple reads of same key.
Get is done using: RLocalCachedMap.get(key)
Puts are done using RMap.put(key, value) or RLocalCachedMap.put(key, value) APIs.
What I believe is that RLocalCachedMap is making network calls every time and not returning anything from local Cache.
Kindly help in suggesting if there is anything wrong or anything that should be done.
We are working on a POC to see if Redisson meets all the Caching needs and a decision will be made based on this.
I have attached the sample code below.
I am on Redisson version 3.29.0.
I am trying to configure RLocalCachedMap for local reads for the caches that are read heavy.
What I can see is that the time taken by RLocalCachedMap is more or less same as RMap, for multiple reads of same key.
Get is done using: RLocalCachedMap.get(key)
Puts are done using RMap.put(key, value) or RLocalCachedMap.put(key, value) APIs.
RLocalCachedMap is get as:
What I believe is that RLocalCachedMap is making network calls every time and not returning anything from local Cache.
Kindly help in suggesting if there is anything wrong or anything that should be done.
We are working on a POC to see if Redisson meets all the Caching needs and a decision will be made based on this.
I have attached the sample code below.
MainClass.java.txt
The text was updated successfully, but these errors were encountered: