SciLifeLab / bcbb

Useful bioinformatics code, primarily in Python and R
http://bcbio.wordpress.com
10 stars 11 forks source link

Introducing HA to rabbitmq via Celery clients: http://docs.celeryproject... #223

Closed brainstorm closed 11 years ago

brainstorm commented 11 years ago

....org/en/master/configuration.html#std:setting-CELERY_QUEUE_HA_POLICY

brainstorm commented 11 years ago

According to: http://www.mirantis.com/blog/ha-platform-components-mysql-rabbitmq/

"Technically what happens is that x-ha-policy:all is added to each queue.declare call inside celery and the roundrobin logic of the cluster is connected."

In our case, kombu supports the ha-policy flag since its August release.