https://issues.apache.org/bugzilla/show_bug.cgi?id=49822
Summary: Add hash lb worker method
Product: Tomcat Connectors
Version: 1.2.30
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Common
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=25938)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25938)
Patch to add hash lb worker method
The attached patch adds a hash method to the LB worker. This is useful for
scenarios where back-end cache affinity is more desirable than other load
balancing methods.
This works by taking a hash of the req_uri + query_string, seeding the random
number generator with this value, and using the first random number returned
mod num_of_workers. This will consistently send a given uri/query string to a
particular worker. If that worker is unavailable, fall back to default method.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]