How to implement a Least Frequently Used (LFU) cache?

后端 未结 7 1563
孤城傲影
孤城傲影 2021-01-31 04:50

Least Frequently Used (LFU) is a type of cache algorithm used to manage memory within a computer. The standard characteristics of this method involve the system keeping track of

7条回答
  •  半阙折子戏
    2021-01-31 05:18

    You might benefit from the LFU implementation of ActiveMQ: LFUCache

    They have provided some good functionality.

提交回复
热议问题