I have to build a LFU cache and we are thinking of using Couchbase for the same. I understand that couchbase evicts entries from RAM using LFU algorithm and it moves LFU entries form RAM to the disk. But that doesn’t give me true LFU, it will start throwing errors if size of my data becomes more than available disk. I would like LFU entries to evict automatically from the disk as well. Is there something available out-of-the-box in Couchbase.
To put it in different words. I don’t want 100% of my data in couchbase as I have another persistent data store. I want only most frequently accessed data in couchbase.
Thanks in advance.