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
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)