Should I connect to a redis cluster based on wizards only?

I am using a library stachexchange.redisto connect to a redis cluster. The cluster has 3 masters and 4 slaves.

In my connection with the use of the multiplexer, which servers should be used in the connection string? only one of the wizards or all servers?

Currently used:

ConnectionMultiplexer.Connect("master1, master2, master3")

+4
source share
1 answer

It does not really matter. When talking to a cluster, it will use CLUSTER NODESeither CLUSTER SLOTSto discover the topology.

+2
source

Source: https://habr.com/ru/post/1618063/


All Articles