关于celery / redis / rabitmq / etc的大多数教程都是关于设置而不是概念。
我将在下面描述我所知道的内容,如果我错了请帮我解决,或者让我知道一个关于这个问题的好教程页面。
-> event happen (user did something and web server knows)
-> message goes to the message broker (redis/rabitmq)
-> message broker gives message to celery-worker for him to work
-> if he fails, he reports back to the broker, and broker deals with it
-> (periodic task) celery-beat says it's time to work
-> celery-beat gives the work to celery-worker (or through message broker?)
-> same as above