This topic created in 1955 days ago, the information mentioned may be changed or developed.
由于一台 flask 服务器性能不够,计划再增加 3 台 flask 应用服务器,原来服务器上使用了 celery 异步队列,在 celery_worker 中都有关联 flask 的 app 上下文:
app.app_context().push()
现在把 flask 服务器数量扩充,这会导致 flask 的 app 上下文也横向扩展了,会造成 celery_worker 中队列任务冲突 /重复吗?
2 replies • 2020-12-22 09:23:58 +08:00
 |
|
1
ebingtel Dec 22, 2020
celery beat 是一个 应该没问题
|
 |
|
2
Latin Dec 22, 2020
celery once 了解一下
|