Shuffle the default host arrays at client init time
clement-leprovost opened this issue · 0 comments
clement-leprovost commented
The goal is to systematically avoid overloading the first non-DSN host upon failure. Shuffling should be done once and for all, as retrying a different host every time would likely imply opening a new connection, therefore incur a big overhead. Randomization across all users should be enough to guarantee proper load balancing.