You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by jjimeno <jj...@omp.com> on 2021/05/02 08:40:53 UTC

Cluster endpoints [2.10 c++ thin client]

Hi all,

After taking a look to the c++ thin client source code
(cache_client_impl.cpp) it seems partition awareness is only taken into
account for single requests (Get/Put), but neither for batch (GetAll/PutAll)
nor transactions.

But in our tests, adding endpoints to Ignite Client configuration makes a
huge difference in terms of performance in batch requests for transactional
caches... could anyone put some light on how it's possible? 

Thanks in advance for your help.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cluster endpoints [2.10 c++ thin client]

Posted by Igor Sapego <is...@apache.org>.
This is possible because when you add endpoints to client's configuration
it will use all of them when sending requests (it will send them to random
nodes though). So when you send a large batches of values there won't be
a single node bottleneck, when a single node deals with a great number
of thin client requests.

Best Regards,
Igor


On Sun, May 2, 2021 at 11:40 AM jjimeno <jj...@omp.com> wrote:

> Hi all,
>
> After taking a look to the c++ thin client source code
> (cache_client_impl.cpp) it seems partition awareness is only taken into
> account for single requests (Get/Put), but neither for batch
> (GetAll/PutAll)
> nor transactions.
>
> But in our tests, adding endpoints to Ignite Client configuration makes a
> huge difference in terms of performance in batch requests for transactional
> caches... could anyone put some light on how it's possible?
>
> Thanks in advance for your help.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>