@Override
    public ServerLoad getLoad(ServerMetrics metrics) {
      float connectionLoad =
          load.getConnectionLoad() + metrics.getConnectionCount() * load.getLoadPerConnection();
      float queueLoad = load.getSubscriptionConnectionLoad()
          + metrics.getSubscriptionConnectionCount() * load.getLoadPerSubscriptionConnection();
      return new ServerLoad(connectionLoad, load.getLoadPerConnection(), queueLoad,
          load.getLoadPerSubscriptionConnection());
    }
Test that the locator balances load between three servers with intersecting server groups.
Server: 1 2 3 Groups: a a,b b
geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/LocatorLoadBalancingDUnitTest.java