当前位置:网站首页>Differences between LRU and LFU elimination strategies in redis

Differences between LRU and LFU elimination strategies in redis

2022-07-23 16:20:00 A little dog





LRU Use elimination strategy at least recently

Eliminate data that has not been accessed for a long time

LFU Use elimination strategies least often

Eliminate the data with the least number of visits in the recent period

Most of the defaults are LRU Elimination strategy , When there are a lot of hotspot cache data, use LFU Will be better .






Please correct me if there is any mistake

原网站

版权声明
本文为[A little dog]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/204/202207231053141849.html