Grab's Android team evolved their image disk cache from a standard LRU to a Time-Aware LRU (TLRU) to reclaim storage across millions of devices. The standard Glide DiskLruCache had no time-based eviction, leaving stale promotional and feature images on disk indefinitely. TLRU adds three core attributes: a TTL (20 days) to

14m read timeFrom engineering.grab.com
Post cover image
Table of contents
IntroductionUnderstanding LRU cache limitationsThe challengeTLRU cache: The solutionTechnical implementationFinding optimal configuration valuesImpact and resultsConclusionJoin Us

Sort: