The rule of choosing AMQP message broker is that chose first
available one in order now. The order depends on what we set in
configuration file. That means all the connections will flock
to same message broker and that may lead out performance issue.
This patch randomizes the order of choosing message broker for
each connection to leverage broker cluster.
Reviewed: https:/ /review. openstack. org/81962 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=8ae1880f7a3 1f6e7c985b99b20 15db792d5cca46
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8ae1880f7a31f6e 7c985b99b2015db 792d5cca46
Author: ChangBo Guo(gcb) <email address hidden>
Date: Fri Mar 21 09:49:32 2014 +0800
Select AMQP message broker at random
The rule of choosing AMQP message broker is that chose first
available one in order now. The order depends on what we set in
configuration file. That means all the connections will flock
to same message broker and that may lead out performance issue.
This patch randomizes the order of choosing message broker for
each connection to leverage broker cluster.
Change-Id: Ib5098e574d4ef8 1428065885e2295 d0f87aba715
Partial-Bug: #1261631