[ 
https://issues.apache.org/jira/browse/IGNITE-10172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16696182#comment-16696182
 ] 

Aleksey Plekhanov commented on IGNITE-10172:
--------------------------------------------

PR has been rebased, conflicts resolved.

TC bot blockers are also false positive, all of this issues inherited from 
master:
{noformat}
src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxAbstractEnlistFuture.java
 (1)
917: backupNodes() nodes.size() > 0 can be replaced with '!nodes.isEmpty()'
src/main/java/org/apache/ignite/internal/processors/cache/persistence/GridCacheOffheapManager.java
 (1)
1576: init0() pendingTree0.size() > 0 can be replaced with 
'!pendingTree0.isEmpty()'
src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/topology/GridDhtLocalPartition.java
 (1)
65: Unused import import org.apache.ignite.lang.IgniteUuid;
src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java
 (1)
73: Unused import import 
org.apache.ignite.internal.processors.cache.query.CacheQueryType;
{noformat}

> Enabling cache statistics on a large cluster with a large number of caches 
> can affect performance
> -------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-10172
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10172
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.6
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>             Fix For: 2.8
>
>
> In current implementation cache metrics are collected on each node and sent 
> across whole cluster with discovery message 
> ({{TcpDiscoveryMetricsUpdateMessage}}) with configured frequency 
> ({{MetricsUpdateFrequency}}, 2 seconds by default).
> If there are a lot of caches and a lot of nodes in the cluster, metrics 
> update message (which contain metrics for each cache on each node) can reach 
> a critical size.
> Also frequently collecting all cache metrics have a negative performance 
> impact.
> The only way now to disable cache metrics collecting and sending with 
> discovery metrics update message is to disable statistics for each cache. But 
> this also makes impossible to request some of cache metrics locally (for the 
> current node only). Requesting a limited set of cache metrics on the current 
> node doesn't have such performance impact as the frequent collecting of all 
> cache metrics, but sometimes it's enough for diagnostic purposes.
> To solve this introduce new system property which will disable cache metrics 
> sending with {{TcpDiscoveryMetricsUpdateMessage}} even if 
> {{statisticsEnabled}} flag is true.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to