I am thinking about using keydb as log store. In this case, I would like my logs to be stored directly to flash in order to avoid filling up memory with unecessary log data that will not be frequently used. At the current moment, there seems to be a policy to set allkeys-lru. However, it would be nice to have a policy where I can do allkeys-lru and my-logkey-*. In this case, any keys starting with my-logkey will be written directly to flash and avoid filling up memory.
The problem/use-case that the feature addresses
I am thinking about using keydb as log store. In this case, I would like my logs to be stored directly to flash in order to avoid filling up memory with unecessary log data that will not be frequently used. At the current moment, there seems to be a policy to set allkeys-lru. However, it would be nice to have a policy where I can do allkeys-lru and my-logkey-*. In this case, any keys starting with my-logkey will be written directly to flash and avoid filling up memory.