GitHub user dosubot[bot] added a comment to the discussion: Support for Valkey
<!-- Greeting --> Hi @antoniordz96! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> Your gut feeling is reasonable—Valkey should work as a cache backend for Superset as long as it remains compatible with the Redis protocol, since Superset uses Flask-Caching with redis-py and expects a Redis-compatible server (configured as `CACHE_TYPE: "RedisCache"` and related `REDIS_*` parameters). There are no vendor or feature checks in Superset that would block Valkey if it presents the expected Redis API on the configured host and port. The main concern is that Valkey is a fork and may eventually diverge from Redis in protocol or features. If Valkey introduces changes that break compatibility with redis-py, you could run into issues—not just in Superset, but in any Python app using redis-py. As of now, there are no known Superset-specific limitations or issues with using Valkey as a drop-in replacement for Redis, but keep an eye on upstream changes in both Valkey and redis-py for any breaking changes in the future. References: - [Superset cache backend implementation](https://github.com/apache/superset/blob/a1cbd2578e24ed6c72024e1d1cf195846ace05d7/superset/async_events/cache_backend.py) - [Superset cache configuration](https://github.com/apache/superset/blob/a1cbd2578e24ed6c72024e1d1cf195846ace05d7/docker/pythonpath_dev/superset_config.py) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/eeab3739-30bc-4952-9411-4416546d4be7?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/eeab3739-30bc-4952-9411-4416546d4be7?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/eeab3739-30bc-4952-9411-4416546d4be7?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/eeab3739-30bc-4952-9411-4416546d4be7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/eeab3739-30bc-4952-9411-4416546d4be7?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/eeab3739-30bc-4952-9411-4416546d4be7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/eeab3739-30bc-4952-9411-4416546d4be7?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/33811) GitHub link: https://github.com/apache/superset/discussions/33811#discussioncomment-13502560 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
