dgraph-io / ristretto

A high performance memory-bound Go cache
https://dgraph.io/blog/post/introducing-ristretto-high-perf-go-cache/
Apache License 2.0
5.54k stars 364 forks source link

[QUESTION]: How can I pre warm the cache ? #361

Closed modestlearner closed 1 month ago

modestlearner commented 10 months ago

Question.

I am trying to pre populate the cache.

Will the cache remove the old 150k counters or will it not let the new counters after 50k to get populated since its an LFU and the new counters would surely not be used more than the previous one.

github-actions[bot] commented 2 months ago

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.