Re: Active jobs from LoadBalancingSpi

2016-02-25 Thread Paolo Di Tommaso
f used CPUs and decrements when it > finishes execution. Load balancer can make decisions based on data in the > cache. > > Will this work? > > -Val > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadB

Re: Active jobs from LoadBalancingSpi

2016-02-24 Thread vkulichenko
: http://apache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadBalancingSpi-tp3157p3175.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Active jobs from LoadBalancingSpi

2016-02-24 Thread Paolo Di Tommaso
> > You said "nodes", not "jobs" :) > > Oops sorry, it was late :) > You can use ClusterNode.metrics() to get additional information like number > of currently executed jobs. Will this work for you? > > I also recommend to take a look at existing implementations, like > AdaptiveLoadBalancingSpi.

Re: Active jobs from LoadBalancingSpi

2016-02-23 Thread vkulichenko
se cases there is no need to implement your own SPIs. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadBalancingSpi-tp3157p3163.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Active jobs from LoadBalancingSpi

2016-02-23 Thread Paolo Di Tommaso
List top*, ComputeJob job) throws IgniteException; > > Is it what you're looking for? > > -Val > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadBalancingSpi-tp3157p3160.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >

Re: Active jobs from LoadBalancingSpi

2016-02-23 Thread vkulichenko
pache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadBalancingSpi-tp3157p3160.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Active jobs from LoadBalancingSpi

2016-02-23 Thread Paolo Di Tommaso
Hi, Is there any way to access to collection of active nodes from a LoadBalancingSpi? Thanks, Paolo