fastogt/fastonosql

How to support redis cluster?

superwen0001 opened this issue · 6 comments

How to support redis cluster?

Hi @superwen0001 , you need to create cluster connection after that discover it, and select needed nodes.

When I get a key on one of the other nodes, return to me nil,Set a key to remind me to move., what should I do to fit the cluster of multiple nodes? @topilski

Yes it is, because i don't know how to implement redirection to other node in cluster. I will think about it, how more gracefully implement it.

That's not very good. When I get a key on another node, it's nil, and you should consider opening a new connect directly to execute.

thank you,Waiting for your new implementation.For the time being, the support for cluster is not friendly enough.

Hi @superwen0001, i implemented redirection to nodes in cluster mode.
image