Merge "Set default number of rabbitmq queues to CEIL(N/2)"

This commit is contained in:
Zuul 2018-08-06 19:40:38 +00:00 committed by Gerrit Code Review
commit bea76b04a8
2 changed files with 11 additions and 1 deletions

View File

@ -55,7 +55,7 @@ parameters:
The number of HA queues to be configured in rabbit. The default is -1 which
translates to "ha-mode all". The special value 0 will be automatically
overridden to CEIL(N/2) where N is the number of nodes running rabbitmq.
default: -1
default: 0
type: number
RabbitNetTickTime:
description:

View File

@ -0,0 +1,10 @@
---
other:
- |
We now set the default number of rabbitmq queues to CEIL(N/2). (Where N is
the number of rabbitmq nodes). Previously this was set to N by default
which translated to having all queues mirrored to all controllers. By
changing the default to CEIL(N/2) the queues will not be copied around all
servers, but just to a subset of them. This still provides the necessary
resilience in case of a controller crash, but is less demanding in terms of
performance (and likely triggers fewer bugs in rabbit)