Understand Redis key naming and prefixing behavior
mainThe cache system manages namespaces using a prefix system:
- Default Prefix:
plugin_daemon. - Override: Use the
REDIS_KEY_PREFIXenvironment variable to change the prefix. - Scope: The prefix applies to both standard keys and Pub/Sub channels.
- Namespace Switching: Changing the prefix switches the active namespace; it does not migrate existing data to the new prefix.
- Cluster Hash Tags: Logical keys containing Redis Cluster hash tags (e.g.,
{remote:key:manager}) will keep those tags intact because the prefix is prepended to the full logical key.