Hello
I would like to know if there is or is development in mind an eviction policy by DB
I have a Redis instance with different DBs, in one of them I have session management and I would like to protect that db from any deletion and keep the expire, so I don't have to manually manage this process, is this possible?
Thank you
Comment From: itamarhaber
Hello @ricardoacosta290
This isn't planned, and the right way to think about DBs in Redis is as namespaces. A Redis instance has one set of global configuration directives that applies to all data stored in it, including eviction but also persistence, memory, threads and so forth.
The recommended practice instead is to divide-and-conquer, which means you set up a dedicated Redis instance for each type of data. One instance can be persistent and w/o eviction, whereas another could be totally volatile.
Comment From: ricardoacosta290
Hi @itamarhaber
Okay, I got it
Thanks for the quick response and recommendations.