synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka (JIRA)" <>
Subject [jira] Resolved: (SYNAPSE-433) Loadbalance Algorithm is hardcoded
Date Tue, 23 Dec 2008 09:38:44 GMT


Hiranya Jayathilaka resolved SYNAPSE-433.

    Resolution: Fixed

Fixed on SVN trunk. LB algorithm factory now considers the values of "policy" and "algorithm"
attributes when creating a load balance algorithm implementation. A default constructor was
added to the RoundRobin algorithm implementation to support instantiating from the class name.

If a policy is being specified it must be "roundRobin" since that is the only policy supported
right now. If an algorithm is being specified it must be a valid class which implements the
LoadbalanceAlgorithm interface.

In situations no policy or algorithm is specified RoundRobin will be used.

> Loadbalance Algorithm is hardcoded
> ----------------------------------
>                 Key: SYNAPSE-433
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>            Reporter: Afkham Azeez
>            Assignee: Hiranya Jayathilaka
>            Priority: Critical
>             Fix For: NIGHTLY
>         Attachments: lb-algorithm.patch
> There is no way to switch to a different algorithm other than round-robin without a code
change. The load balancing has been hard coded to use round-robin algorithm.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message