Celery Worker Database Connection Pooling

前端 未结 6 1017
萌比男神i
萌比男神i 2020-12-07 19:17

I am using Celery standalone (not within Django). I am planning to have one worker task type running on multiple physical machines. The task does the following

    <
6条回答
  •  暖寄归人
    2020-12-07 20:07

    Perhaps you can use pgbouncer. For celery nothing should change and the connection pooling is done outside of the processes. I have the same issue.

    ('perhaps' because I am not sure if there could be any side effects)

提交回复
热议问题