Retrieve list of tasks in a queue in Celery

EDIT: See other answers for getting a list of tasks in the queue. You should look here: Celery Guide – Inspecting Workers Basically this: my_app = Celery(…) # Inspect all nodes. i = my_app.control.inspect() # Show the items that have an ETA or are scheduled for later processing i.scheduled() # Show tasks that are currently … Read more

Why do we need message brokers like RabbitMQ over a database like PostgreSQL?

Rabbit’s queues reside in memory and will therefore be much faster than implementing this in a database. A (good)dedicated message queue should also provide essential queuing related features such as throttling/flow control, and the ability to choose different routing algorithms, to name a couple(rabbit provides these and more). Depending on the size of your project, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)