-
round-robin is not a good solution as this might cause packets re-ordering for a sender. Therefore I suggest to implement following algorithms:
-
Select component/connection by the sender bareJID hashCode
-
Select component/connection by the receiver bareJID hashCode
-
Select component/connection by the receiver full JID hashCode
-
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
195
|
Version |
tigase-server-5.1.0
|
Issue Votes (0)
Watchers (0)
The external component protocol implementation in the Tigase is updated to support multiple connections from external component and offer different algorithms to distribute load to these components.
Planned load balancing algorithms: round-robin, hash by destination BareJID, hash by destination full JID