Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 585 Bytes

File metadata and controls

15 lines (7 loc) · 585 Bytes

LRU vs LFU Redis Demo

Everyone defaults to LRU caching, but when bots create 500,000 sessions per hour, LFU is your best friend.

Frank wrote up a detailed description of why you should consider using an LFU cache for user sessions.

Quick Video Explanation

LFU is better than LRU for storing browser sessions

Which cache algorithm is right for you?

Image with LFU on one side and LRU on the other