-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Enhancement: Implement Redis cache backend #534
Comments
The integration should also include |
Should see have redis at all? Why not simply to with hiredis to begin with? |
I thought hiredis integrated with the redis library, but I could be wrong. |
@cofin I think I can work on this unless you already started, please let me know |
@seladb, please go for it. |
@cofin @Goldziher basic redis and memcached support was added. As @cofin mentioned we can extend the existing cache to do more than |
Since this is now user facing through |
What's the feature you'd like to ask for.
Implement a Redis cache backend that can be utilized as an alternate to the SimpleBackend.
Additional context
We should probably extend the
CacheProtocol
andSimpleCacheBackend
to have additional methods that are similar to redis.For instance, we could add some or all the following implementations.
scan
,keys
,rpush
,expire
,exists
,mget
,lrange
,delete_keys
,ping
.Here is a working Redis backend with the methods above from the sample project in my github:
The text was updated successfully, but these errors were encountered: