Bug 779131 (SOA-1529)

Summary: Service Invoker load balance policy that prefers local EPRs
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: niklas käck <niklas.kack>
Component: JBossESBAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CP02CC: bperkins
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1529
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description niklas käck 2009-10-14 07:54:00 UTC
Date of First Response: 2009-10-14 04:02:33
Help Desk Ticket Reference: https://support.redhat.com/jbossnetwork/restricted/caseDetail.html?caseId=352029
project_key: SOA

When running SOA-P in a clustered UDDI setup, a request may be routed according to three load balance algorithms (AFAIK).
* First Available
* Round Robin
* Random Robin

There's no balancer that takes into account that a user might not want the requests to get balanced between the instances in the cluster (since that makes it hard to debug in the event of a failure)

This feature request is for a load balance policy for the service invoker that prefers the local instance over other remote instances to avoid having the request jumping between instances.

Comment 1 Kevin Conner 2009-10-14 08:02:33 UTC
This is not easy to achieve through a load balancer policy, it would require a new registry interceptor.

Comment 2 Burr Sutter 2009-10-21 18:11:20 UTC
I had thought that InVM was the top priority - stay inside the current JVM when possible.

Comment 3 Kevin Conner 2009-10-21 18:16:22 UTC
It is if they choose to use it ,but this is for when they want the additional guarantees that a transport such as JMS provides.

Comment 4 Anne-Louise Tangring 2010-02-25 19:00:14 UTC
Approved for SOA 4.3 CP03, but only if resolved by Due Date.

Comment 5 Kevin Conner 2010-03-04 13:18:09 UTC
Link: Added: This issue depends JBESB-3197


Comment 6 Kevin Conner 2010-03-12 10:40:41 UTC
Did not make the cut

Comment 7 David Le Sage 2010-03-15 00:03:00 UTC
Draft text for Known Issues section of the Release Notes:


https://jira.jboss.org/jira/browse/JBESB-3197

    Currently, there is no service invoker load-balancing policy that prefers local end-point references.
    This would be of use if users do not want requests to be balanced between different instances in
    the clutter, as the latter makes debugging harder in the event of a failure.

    There is no work-around for this lack of functionality.


Comment 8 Kevin Conner 2010-08-09 15:12:19 UTC
Link: Added: This issue related SOA-2214


Comment 9 Kevin Conner 2010-08-09 15:18:57 UTC
See linked issue for registry interceptor addressing this.