quick-cache
quick-cache copied to clipboard
Lightweight and high performance concurrent cache
It seems weird that the limit for a single item is limited to u32 even though weight for the overall collection is expressed as u64. Is that an intentional design...
Hi, I'm applying quick-cache to my project. In my project, the environment and configurations are as follows: * The number of CPU cores is high (about 200) * The weights...
Hey there, I'm currently building a system where some data is "strongly" held in the cache (and thus never evicted) until it is synced to a persistent store after which...
I'm using Lifecycle to emit entry age metrics, it would be nice to distinguish between cold evictions and hot evictions so we can tag the metrics separately and more clearly...
:wave: It's the LSM-tree guy again. I've seen that QC supports a clear method, however I find that pretty destructive for my use case. As is typical with an LSM-tree,...
When replacing an entry, it sometimes get evicted if the new value makes it go over the size limit. I'd expect other entries to be evicted first.
I'm using quick-cache in the context of a web service to cache previously completed results. I want to enable my service to respond to memory pressure on the host relative...
Hi Arthur, One question about cache size and entries. I have a cache of 12,288Mb size (12GB). Applying your formula (mem ≈ 49 * next_power_of_two( N * (1 + ghost)...
I would like to add an `update_with` or `replace_with` method to the cache. The use case would be to be able to update atomically an entry with a closure/`Fn` type...