Skip to content
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

支持 redis 集群嘛 #5

Open
docker198 opened this issue Sep 28, 2017 · 4 comments
Open

支持 redis 集群嘛 #5

docker198 opened this issue Sep 28, 2017 · 4 comments

Comments

@docker198
Copy link

我看了代码。感觉是不支持的。是不是在 redis 的配置文件改改,就就可以支持 redis 集群了呢?

@ouqiang
Copy link
Owner

ouqiang commented Sep 28, 2017

Redis客户端库使用的是Redigo,不支持集群

@docker198
Copy link
Author

soga。了然。https://github.com/go-redis/redis 。这个支持 Redis 集群的,而且,还有很多贡献者

@ouqiang
Copy link
Owner

ouqiang commented Sep 28, 2017

如果要支持集群,使用这个基于Redigo的库redis-go-cluster会更好,代码改动量小,连接Redis代码改一下就可以了。

@rfyiamcool
Copy link

推荐使用redis-go-cluster,对于multi key支持更好. @ouqiang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants