6 November 2026

Posts published on funGyaan on 6 November 2026.

November 2026

MTWTFSS
1
2345678
9101112131415
16171819202122
23242526272829
30

  1. Which cache eviction policy keeps the most hits?

    On skewed traffic, LFU and W-TinyLFU kept 49% hits in a cache holding 1% of keys, against LRU's 40%. A one-off scan cut LRU to 26% for a while. When popularity moved to new keys, plain LFU collapsed from 51% to 13% and stayed there; W-TinyLFU recovered to 47%. Measured, with the code.

    · 6 min read · Data Structures