We have Apache running as reverse proxy using proxy balancer we run a jMeter load test from 7 Cloud machines but the traffic does not seem to get distributed evenly I'm thinking it's an Apache config issue, but not sure what
Basically in our VirtualHost directive I have:
ProxyPreserveHost on
ProxyRequests Off
ProxyPass / balancer://my-site/
ProxyPassReverse / balancer://my-site/
Header add Set-Cookie "route=.%{BALANCER_WORKER_ROUTE}e; path=/"
and
<Proxy balancer://my-site>
BalancerMember https://MYMACHINE:8443 route=1 loadfactor=20
BalancerMember https://MYMACHINE:8443 route=2 loadfactor=20
ProxySet stickysession=route
</Proxy>
At first it did not have loadfactor=20 and load balancing was not done well after I added it there was improvement, but not great. Traffic would still get routed to 1-2 machines more then the others (we have a total of 5 machines).