Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> when you have a proper AMQP like RabbitMQ

AMPQ = Advanced Message Queuing Protocol so it's wrong to say that a message broker is "an AMQP". Also, give Redis a try - it's much easier to set up and uses fewer resources.

We should probably talk about the elephant in the room when addressing newbies: the Celery daemon needs to be restarted each time new tasks are added or existing ones are modified. I got past that with the ugly hack of having only one generic task[1] but people new to Celery need to know what they're getting into.

[1]: https://github.com/stefantalpalaru/generic_celery_task



Let me repeat, you don't need this to load/reload tasks. There is 'pool_restart' broadcast command[1].

[1]: http://docs.celeryproject.org/en/latest/userguide/workers.ht...


Noted, the wording is a bit contrived i give you that. I like Redis as well, it was mentioned in the comments here a few times. Good thinking about pointing out reloading btw. Tnx.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: