-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Make RedisAdapter TagAware by using native Redis Sets #30624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
See #30370 ? π |
You're not the only one wondering about this, see #30370 |
Ah wow, I did not search well enough... |
May I come back to this issue and ask (as a redis non-expert) if the changes have been applied? I am unsing Symfony 4.4, and have a configuration like this:
I am using the redis extension redis-4.3.0.
Then these commands are printed on redis-cli's
Question: are the native tags used here? I do not see any set commands like |
The only way to have a cache adapter with tagging features in symfony currently is to explicitly create a TagAwareAdapter backed by some other cache adapter.
However, redis does have SETS, see https://www.compose.com/articles/how-to-handle-tagged-data-with-redis-sets/ and the official docs
Shouldn't it be possible to include this into the RedisAdapter just from the beginning? I'd expect massive performance improvements from this.
The text was updated successfully, but these errors were encountered: