Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
teruakohatu
· 4y ago · 0 comments
What is a time-windowed hash-map? Just a time based key-value store?
Comments
[–]
agilob
4y ago
Yes, a hash map that expires objects and loads new KV when key isn't present inside
https://github.com/google/guava/wiki/CachesExplained
[–]
lupire
4y ago
No, it's a rolling buffer of last N hours/days of data, but compressed into a hash table of counters instead of a log array.
[–]
omalleyt
4y ago
I think he means an LRU cache