[
https://issues.apache.org/jira/browse/QPID-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Goldstein updated QPID-4077:
---------------------------------
Attachment: QPID-4077-load-balanced-bindings.patch
Proposed patch. Load balancing is achieved by examining the queue's policy and
delivering the message to the queue that has the most available free space or #
of messages. Note: if you send messages with no body, and the queue's policy is
only size-based, this won't have any effect.
> Load-balance delivery of messages across bindings
> -------------------------------------------------
>
> Key: QPID-4077
> URL: https://issues.apache.org/jira/browse/QPID-4077
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker
> Reporter: Andy Goldstein
> Priority: Minor
> Attachments: QPID-4077-load-balanced-bindings.patch
>
>
> When an exchange receives a message that it needs to route, currently it will
> deliver it to all queues that have matching bindings. It may be useful to be
> able to load balance the routing of messages across a group of queues,
> instead of delivering to all of them. For example, if you have one exchange
> and 3 queues: q1, q2, q3. You could create bindings like this:
> qpid-config bind amq.topic q1 "usa.#" qpid.binding.load-balanced=1
> qpid-config bind amq.topic q2 "usa.#" qpid.binding.load-balanced=1
> qpid-config bind amq.topic q3 "usa.#" qpid.binding.load-balanced=1
> When amq.topic receives a message that matches usa.#, it would try to
> round-robin the delivery of messages to q1, q2, and q3, instead of delivering
> a copy of each message to each queue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]