Re: How to get the load status of the Ignite cluster

2016-10-13 Thread Vladislav Pyatkov
Hi, You can look at the code[1] and get computation of all metrics. The task use public API, but in particular information about thread pools available through MBeans *org.apache:clsLdr=764c12b6,group=Thread Pools,name=GridExecutionExecutor* [1]:

Re: How to get the load status of the Ignite cluster

2016-10-12 Thread ght230
>From the work log, I can see the Metrics for local node, such as "^-- Public thread pool [active=0, idle=512, qSize=0]" I want to know which API of metrics can I use to get the value of "active", "idle" and "qsize". -- View this message in context:

Re: How to get the load status of the Ignite cluster

2016-10-12 Thread vdpyatkov
Hi, It is duplicate. I am given answer in the thread[1]. [1]: http://apache-ignite-users.70518.x6.nabble.com/How-to-get-the-load-status-of-the-Ignite-cluster-tc8232.html -- View this message in context:

Re: How to get the load status of the Ignite cluster

2016-10-12 Thread Vladislav Pyatkov
Hi, You can use NodeMetric for estimate loading on machine: o.a.i.cluster.ClusterNode#metrics See the example[1] in sample project of Ignite or documentation[2]. Additional You can try to justify loading by configuration tuning: - Set the property quite small