Why does the documentation suggest to set randomize to true for active/standby?

0

The default connection string is used with failover without any parameter where randomize parameter by default is “true”, Apache documentation suggests to set this to false if you want to connect to primary first and connect to secondary only when primary fails

I consider to set the “randomize” parameter to “false”, because only one/first broker is active in active/standby case.

AWS doc suggests to set randomize=true for Active/Standby , could you explain why? Shouldn't it be set to false ?

profile pictureAWS
demandé il y a 2 ans194 vues
1 réponse
1

Hi Muhammad_S, The active broker can be any of the two brokers in the active/standby pair. You cannot assume that it will be the first broker every time. Either of the two can be the “active” at any time, neither one is more likely than the other to be active so random=true is a good idea.

Thanks, Mithun

AWS
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions