From e2de2494ab0c821f0d20fe2dfc7ea79c0c60c867 Mon Sep 17 00:00:00 2001 From: Ivan Dneprov <43577565+iDneprov@users.noreply.github.com> Date: Wed, 7 Jun 2023 19:10:10 +0300 Subject: [PATCH] Update docs/MultiInstanceConnecting.md Co-authored-by: Dmitry Kasimovskiy <98410443+dkasimovskiy@users.noreply.github.com> --- docs/MultiInstanceConnecting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/MultiInstanceConnecting.md b/docs/MultiInstanceConnecting.md index 3a341dd9..bf2dd66a 100644 --- a/docs/MultiInstanceConnecting.md +++ b/docs/MultiInstanceConnecting.md @@ -5,7 +5,7 @@ This section shows examples of how to connect to multiple [Cartridge](https://github.com/tarantool/cartridge) routers. We recommend to use balancer in production applications rather than leaving this task to the connector. -If you are using **multiple tarantool clients** do not forget to **shuffle addresses** before providing them to clients. +In case of using **multiple instances of TarantoolClient** we strongly recommend to **shuffle** list of addresses before providing them to clients. TarantoolClient uses [round-robin](https://en.wikipedia.org/wiki/Round-robin_scheduling) so without URIs shuffle the first request of each of your clients will be sent to the same instance. You do not have to worry about shuffling addresses if you are using single TarantoolClient connected to multiple instances.