> On Aug 11, 2016, at 9:36 PM, Velusamy, Gandhimathi <[email protected]> > wrote: > > Hi, > > I am working for my graduate thesis on load balancer. I am trying to > implement delay based load balancing with Traffic server as a reverse proxy. > I am using balancer.cc and writing my functionality there. I am using a map > to store Sate Machine ids and delays computed between transaction start and > transaction close events. > > But I could not find any difference between round robin method and my delayed > based policy even though my four origin servers are having different CPU and > memory configurations.
Can you provide more details, for example, What specific metric(s) are you using to compare between your implementation and the round robin? It'd be interesting to check the response times/latencies from your Origin servers if they are indeed different enough to change the routing distribution. If you are not putting enough load on them, it's possible that they are all responding with identical latencies thus making your implementation behave similar to a simple round robin. > I am guessing that the computation of comparing delays by accessing from maps > causes more delay. This seems unlikely and would be very surprising if it's the case. > I would like to contribute my implementation to Traffic server community once > I finish my thesis. > > Any pointers on how to proceed or where to look will be appreciated. Also is > there any tool available to load test. Current I used "ab" and "RUBiS" > > Thanks > Gandhimathi > >
