meteorgan commented on PR #5906:
URL: https://github.com/apache/opendal/pull/5906#issuecomment-2765003696

   > @meteorgan I think there is no concept of TTL in foyer. You specify a max 
size in bytes of the cache, and it will be filled until the cache is full. If a 
new key is going yo be inserted with the cache being full, another entry is 
evicted (see 
https://foyer.rs/docs/tutorial/in-memory-cache#22-count-entries-by-weight)
   
   What I mean is, if a key gets deleted or updated, we should refresh the 
cache. Otherwise, we'll end up with stale data.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@opendal.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to