Home Comments

Better Load Balancing on nodes with different processing power

raycrayraycray Member Ray ChengProject: Electronic Trading

Hi all,

I am using ICEGrid Replication with adaptive load-balancing for distributed requests, on 2 nodes with very different processing power, probably 1:3. From my observation the current setting couldn't utilize the more powerful machines, it seems the tasks distribute quite evenly to 2 nodes.

It would be idle to distribute more requests to the more powerful node and vice versa. Does the Ordered load-balancing type could help in this case?

Comments

  • raycrayraycray Member Ray ChengProject: Electronic Trading

    I am using ICE version 3.7.1

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    Hi,

    Adaptive load-balancing is based on the load average (or CPU usage on Windows) of the 2 machines. If the load average is similar on both machines, IceGrid will evenly distribute the requests on the 2 machines.

    An easy way to achieve what you want would be to deploy more replicas on the machine which is more powerful. For example, 1 replica on the less powerful machine and 3 replica on the most powerful machine. You can then use the Ordered/Random strategy to distribute the load evenly on all the replicas.

    Cheers,
    Benoit

  • raycrayraycray Member Ray ChengProject: Electronic Trading

    That's a great idea! Thank you for your suggestion.

Sign In or Register to comment.