You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by gigabot <mw...@gmail.com> on 2021/05/09 18:02:44 UTC

Partition Awareness in thin clients

The documentation here lists the benefits of enabling Partition Awareness in
thin clients:

https://ignite.apache.org/docs/latest/thin-clients/java-thin-client#partition-awareness

It doesn't say if there are any drawbacks.

1. Are there any drawbacks?

2. If not, why is this not enabled by default?

Thanks
 gigabot



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

Re: Partition Awareness in thin clients

Posted by Pavel Tupitsyn <pt...@apache.org>.
> 1. Are there any drawbacks?

Increased resource usage, since multiple connections are established.
Some use cases look like "connect, get a small piece of data, disconnect",
and in those cases partition awareness may be suboptimal.

> 2. If not, why is this not enabled by default?

Mostly due to backwards compatibility so the behavior does not change
unexpectedly.

On Sun, May 9, 2021 at 9:03 PM gigabot <mw...@gmail.com> wrote:

> The documentation here lists the benefits of enabling Partition Awareness
> in
> thin clients:
>
>
> https://ignite.apache.org/docs/latest/thin-clients/java-thin-client#partition-awareness
>
> It doesn't say if there are any drawbacks.
>
> 1. Are there any drawbacks?
>
> 2. If not, why is this not enabled by default?
>
> Thanks
>  gigabot
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>