-
Notifications
You must be signed in to change notification settings - Fork 26
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
xcodis能只用 redis的db 0吗? #9
Comments
xcodis使用的db index作为类似codis里面的slot分区,所以对外仍然没有db index概念,外部使用只能是db 0。 |
我的意思是, 内部redis的db index 只用 db 0, 不用其他index, 只用一个 |
会用不同的index,不光是0 |
我只想用0,有办法配置吗 |
我后端有4个redis, 只能用这4个redis 的db 0 |
现阶段没法子,因为xcodis用db index来模拟的slot。codis之所以全用0,主要是因为他们改了redis,加了slot这个数据结构,但我想用原生的redis。 另外,既然你用了proxy,后端的redis到底怎么存的其实你并不需要太care了,所以我不明白为什么只能用0 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
怎么配置呢?
The text was updated successfully, but these errors were encountered: