Broker: Replace rabbitmq with redis
Since we are using redis anyways now for the locking branch i suggest we use it as a broker too.
Basically
BROKER_URL = 'amqp://guest:guest@localhost:5672/'
becomes
BROKER_URL = 'redis://localhost:6379/0'
in alliance_auth/settings.py.example
Steps to install:
-
pip install redis
(already covered by latest nolocking merge) - change BROKER_URL
Advantage is that redis is fast, easy to config and lightweight and rabbitmq the exact opposite.
Further reading: http://docs.celeryproject.org/en/latest/getting-started/brokers/redis.html (warning this is about celery4 which is not django compatible, with the install command shown there aauth will stop working)