I try to use as loadBalancingSpi WeightedRandomLoadBalancingSpi. At one node
I set the weight 10, at another - 100. At a node weighing 10 weaker
configuration. The log show that the quantity of tasks leaves on both nodes
identical.

How to make so that on a node with a big weight the bigger quantity of tasks
left?

Config 1

    <property name="loadBalancingSpi">
        <bean
class="org.apache.ignite.spi.loadbalancing.weightedrandom.WeightedRandomLoadBalancingSpi">
          <property name="useWeights" value="true"/>
          <property name="nodeWeight" value="10"/>
        </bean>
    </property>

Config 2

    <property name="loadBalancingSpi">
        <bean
class="org.apache.ignite.spi.loadbalancing.weightedrandom.WeightedRandomLoadBalancingSpi">
          <property name="useWeights" value="true"/>
          <property name="nodeWeight" value="100"/>
        </bean>
    </property>



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

Reply via email to