Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
Currently when PersistentCache is enabled then any put results in addition of the entry to in memory cache and also to the backing persistent cache. While adding the entry to the persistent cache there is slight overhead of serialization of the entry to be paid.
To avoid such overheads at time of read/write to in memory cache it would be better to move the logic to separate thread. PersistentCache can make use of Guava cache eviction callback and then add the entry to the backend persistent store
Attachments
Issue Links
- duplicates
-
OAK-2761 Persistent cache: add data in a different thread
- Closed