dubeejw opened a new pull request #3146: Use cache invalidation policy based on 
access time
URL: https://github.com/apache/incubator-openwhisk/pull/3146
 
 
   Currently the cache uses an `expireAfterWrite` policy to invalidate entries. 
The current policy invalidates entities five minutes after the entity is cached 
even if they are accessed within that time period. 
   
   Using an `expireAfterAccess` policy with a time of five minutes will keep 
entities in the cache that are accessed within that timeframe. This prevents 
unnecessary database reads for entities that are used frequently.  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to