redis2-nginx-module
redis2-nginx-module copied to clipboard
support redis3 cluster how?
test message: "MOVED 12182 127.0.0.1:6979"
I'm using Redis Cluster also. How may I configure it. Does it knows how to proxies itself.
These clients don't have support for Cluster redirection or plentitude of other things that need to be implemented for full Redis cluster support:
- redis-nginx-module
- redis2-nginx-module
- lua-resty-redis
Redis Cluster is not some magical thing that happens automatically. A lot of Redis cluster support actually needs to be done on client. Please check these also:
- https://github.com/openresty/lua-resty-redis/issues/43
- https://github.com/xetorthio/jedis/issues/990#issuecomment-103393965
Bad thing about Redis cluster support is that probably all the clients end up doing it differently. You are welcomed to contribute cluster support for any of the OpenResty libs.
Also check other options like Codis and Twemproxy. Redis Cluster doesn't support all the Redis features, like pipelines for example.
Hello,
This module still not having clustering support?. We have an high load webpage and I think that redis single nodes are not enough.
Best Regards
Hi! I am also wondering if it's not supported yet? Thanks @bungle
When can we get cluster support @bungle ?
There is Redis cluster client for Lua (which can be used with OpenResty): https://github.com/kong/resty-redis-cluster https://github.com/steve0511/resty-redis-cluster
And there is one for Sentinels: https://github.com/ledgetech/lua-resty-redis-connector