[ https://issues.apache.org/jira/browse/CAMEL-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086930#comment-13086930 ]
Mark Harwood commented on CAMEL-3197: ------------------------------------- Not an active user of Camel but I was looking for weighted load balancer code and came across the source to these classes. The concern I had was that the implementation may lead to a "sawtooth" effect of loads on servers over time rather than a relatively even load? As far as I understand it the load balancing logic apportions requests evenly across servers, subtracting 1 from the weight of a server for each usage. In this scheme, low-weighted services exit from the pool early on and leave high-weighted servers alone to service the remaining requests until they are then also retired from the pool and all weights and pool entries are refreshed. If this is correct, then servers should experience alternating periods of under-utilisation and over-utilisation rather than a fixed constant load proportional to their allotted weight? > Add a new Load Balancing algorithm that provides weighted round-robin and > weighted random support > --------------------------------------------------------------------------------------------------- > > Key: CAMEL-3197 > URL: https://issues.apache.org/jira/browse/CAMEL-3197 > Project: Camel > Issue Type: New Feature > Reporter: Ashwin Karpe > Assignee: Ashwin Karpe > Fix For: 2.6.0 > > Attachments: CAMEL-3197-CoreUpdate-20101025.patch, > CAMEL-3197-Delimiter.patch, CAMEL-3197-SpringUT.patch, > CAMEL-3197-SpringUTRelatedCamelCore.patch, > CAMEL-3197-SpringUpdate-20101025.patch, WeightedLB.patch > > > Camel currently does not offer load balancing based on user defined > percentage endpoint use (or weighted round-robin or weighted random use) with > respect to other endpoints > Develop ability in load balancer send to the endpoint based on > percentage/weight specified by user. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira