use of com.linkedin.d2.balancer.simple.SimpleLoadBalancerTest in project rest.li by linkedin.
the class SimpleLoadBalancerSimulation method main.
public static void main(String[] args) throws Exception {
SimpleLoadBalancerTest test = new SimpleLoadBalancerTest();
test.doOneTimeSetUp();
System.err.println(2);
test.testLoadBalancerSimulationRandom();
System.err.println(3);
test.testLoadBalancerSimulationRandomLarge();
System.err.println(4);
test.testLoadBalancerSimulationDegrader();
System.err.println(5);
test.testLoadBalancerSimulationDegraderLarge();
System.err.println(6);
test.testLoadBalancerSimulationDegraderWithFileStore();
System.err.println(7);
test.testLoadBalancerSimulationDegraderWithFileStoreLarge();
System.err.println(8);
test.doOneTimeTearDown();
new SimpleLoadBalancerSimulation(new DegraderLoadBalancerStrategyFactoryV3()).simulateMultithreaded(50, 1000000, 999999999);
}
Aggregations