Hi,
can you help me to clarify how Load Balancing works with Ignite?

This is my cfg:
        RoundRobinLoadBalancingSpi spiRRLB = new RoundRobinLoadBalancingSpi();
                // Configure SPI to use global round-robin mode.
                spiRRLB.setPerTask(false);
                // Override default load balancing SPI.
                cfg.setLoadBalancingSpi(spiRRLB);

                return cfg;


1) When i 'll execute a "IgniteCallable"  run on RRLB? 
2) How i can use RRLB with Query? i need impelment a task?
3) Example in your code... how i can use this in  RRLB? i mean run
computation in a single node but in rrlb
IgniteCompute compute  = ignite.compute();

// Execute closure on all cluster nodes.
Collection<Integer> res = compute.apply(
    String::length,
    Arrays.asList("How many characters".split(" "))
);

If you can help me with a simple code will be fully appreciate...



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Help-Load-Balancing-tp8716.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to