[
https://issues.apache.org/jira/browse/IGNITE-26884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-26884:
------------------------------------
Description:
As a user, I'd like to know if partition awareness works efficiently (key-based
requests go directly to the primary replica).
In *ReliableChannel* we have *preferredNodeName*. If a connection to that node
is available, it is a "hit", otherwise a "miss".
Note that partition assignment can be out of date on the client at certain
times, so we don't actually know if a given request was rerouted on the server
(for that we have IGNITE-26885 ), but the client-side metric is still useful.
was:
As a user, I'd like to know if partition awareness works efficiently (key-based
requests go directly to the primary replica).
In *ReliableChannel* we have *preferredNodeName*. If a connection to that node
is available, it is a "hit", otherwise a "miss".
Note that partition assignment can be out of date on the client at certain
times, so we don't actually know if a given request was rerouted on the server,
but the client-side metric is still useful.
> Java client: add partition awareness hit/miss metrics
> -----------------------------------------------------
>
> Key: IGNITE-26884
> URL: https://issues.apache.org/jira/browse/IGNITE-26884
> Project: Ignite
> Issue Type: Improvement
> Components: thin clients ai3
> Reporter: Pavel Tupitsyn
> Priority: Major
> Labels: ignite-3
> Fix For: 3.2
>
>
> As a user, I'd like to know if partition awareness works efficiently
> (key-based requests go directly to the primary replica).
> In *ReliableChannel* we have *preferredNodeName*. If a connection to that
> node is available, it is a "hit", otherwise a "miss".
> Note that partition assignment can be out of date on the client at certain
> times, so we don't actually know if a given request was rerouted on the
> server (for that we have IGNITE-26885 ), but the client-side metric is still
> useful.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)