Skip to content

Commit

Permalink
Update docs/MultiInstanceConnecting.md
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Kasimovskiy <98410443+dkasimovskiy@users.noreply.github.com>
  • Loading branch information
iDneprov and dkasimovskiy committed Jun 7, 2023
1 parent 7278e12 commit e2de249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/MultiInstanceConnecting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e2de249

Please sign in to comment.