ignite icon indicating copy to clipboard operation
ignite copied to clipboard

IGNITE-20481 Java client: Balance requests across connections

Open weetyre opened this issue 2 years ago • 3 comments

Thank you for submitting the pull request to the Apache Ignite.

In order to streamline the review of the contribution we ask you to ensure the following steps have been taken:

JIRA ticket: https://issues.apache.org/jira/browse/IGNITE-20481

Description:

The ignite 2.15.0 version does not change the default channel for processing when the client is connected normally, resulting in load imbalance performance problems between ignite nodes. This modification adds a round-robin method to achieve the purpose of using a new available channel for each request to achieve complex balancing.

weetyre avatar Sep 23 '23 09:09 weetyre

@ptupitsyn @petrov-mg @ivan-fedorenkov @sk0x50 thanks in advance. :)

weetyre avatar Sep 26 '23 00:09 weetyre

@ptupitsyn @petrov-mg @ivan-fedorenkov @sk0x50 thanks in advance again. :)

weetyre avatar Oct 07 '23 01:10 weetyre

@weetyre, what problem are you trying to solve with this patch? When partition awareness is enabled connections are already balanced. Only reason to have partition awareness disabled is to have only one connection per client, so no balancing required here. Your patch breaks this behaviour (perhaps additionaly breaks other minor things).

alex-plekhanov avatar Oct 23 '23 10:10 alex-plekhanov