Projects tigase _server server-core Issues #69
Load-balancing for virtual component (#69)
Open
Artur Hefczyc opened 1 decade ago

Add a support for simple: round-robin, hash by destination BareJID, hash by destination full JID load balancing for virtual components. The class to update: source:/trunk/src/main/java/tigase/cluster/VirtualComponent.java

  1. redirect-to property should accept a comma separated list of JIDs for the packet redirection.

  2. A new property redirect-algorithm should allow to set one of above algorithms for packets redirection.

  3. http://www.tigase.org/content/virtual-components-cluster-mode document update with the new features.

  4. A documentation page with title: "Load balancing external components" with example configuration

Artur Hefczyc commented 1 decade ago

round-robin is not a good solution as this might cause packets re-ordering for a sender. Therefore I suggest to implement following algorithms:

  1. Select component/connection by the sender bareJID hashCode

  2. Select component/connection by the receiver bareJID hashCode

  3. Select component/connection by the receiver full JID hashCode

wojciech.kapcia@tigase.net batch edited 4 months ago
Name Previous Value Current Value
Iterations
empty
Candidate for next major release
issue 1 of 1
Type
Task
Priority
Blocker
Assignee
RedmineID
196
Version
Candidate for next major release
Estimation
24h
Issue Votes (0)
Watchers (2)
Reference
tigase/_server/server-core#69
Please wait...
Page is in error, reload to recover