asyncio-redis
asyncio-redis copied to clipboard
Redis Cluster Support
Hi, do you plan to support Redis Cluster in the near future?
Hi @firla, currently I'm not planning to add any special cluster support. Maybe it can be implemented on top of asyncio-redis instead of inside it. (I'm not sure.) Pull requests or implementation ideas are always welcome.
Hi @firla, @jonathanslenders,
I forked asyncio-redis
and, based on redis-py-cluster
, I've added support for Redis Cluster using the asyncio lib. It's very hacky but it suits my needs. You can check it here: https://github.com/HackerExperience/asyncio-redis-cluster
I think it's possible to add cluster support to asyncio-redis
without much pain (you can check my diff, it's not very big), but I don't know if we want that. Redis Cluster comes with some limitation (like no pipeline, limited subset of commands, etc), and there would be a (small) overhead for both packages (checking if the setup is clustered, if there are slaves, etc). Also, a proper implementation (like redis-py-cluster) seems a lot of work.