I currently i used the same redis instance to save 2 types of informations:
- That contain cache data that can be evicted when i want to free memory (for this data i want to use an LRU , as it's can grow to very large number of records).
- Information that can't be deleted randomly - and should be cleanup by explicit delete command from the app.
My question is if there is a way to separate between those 2 kinds of data in a manner that enable to define LRU only on the data of type 1 , but not on the data of type 2.