Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2627

Refactor LoadBalancingStrategy and its RoundRobinLoadBalancingStrategy implementation

    XMLWordPrintable

    Details

      Description

      Currently LoadBalancingStrategy.getHandlerIterator(..) method is tied to a List which is too restrictive giving the fact that its current usage is tied to a OrderedAwareLinkedHashSet thus requiring a conversion of Set to a List which is costly.
      Further more, the algorithm in RoundRobinLoadBalancingStrategy is also not very efficient since it is based on creating a new ArrayList on each call.

      Both could be greatly improved and preliminary testing shows significant performance improvement (3 times faster)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oleg.zhurakousky@springsource.com Oleg Zhurakousky
              Reporter:
              oleg.zhurakousky@springsource.com Oleg Zhurakousky
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: