You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2008/12/23 10:38:44 UTC
[jira] Resolved: (SYNAPSE-433) Loadbalance Algorithm is hardcoded
[ https://issues.apache.org/jira/browse/SYNAPSE-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/SYNAPSE-433
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org