Is it possible to use pika instead of librabbitmq with Celery

828 views Asked by At

Is it possible to use Pika instead of Librabbitmq with celery ?

If so:

  • Does it have any performance penalty?
  • Do you need a special configuration?
1

There are 1 answers

0
eandersson On

Celery only comes with in-built support for it's own two AMQP libraries - py-amqp and librabbitmq.

Librabbitmq is a C library, so it's naturally going to be faster than a pure python equivalent like py-amqp (or pika). It is however more difficult to troubleshoot a C library.