You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been facing the following problem without finding a solution since a while.
I am developing a Django webapp which starts a Luigi pipeline with let s say N workers.
Every worker of the pipeline run queries.
If I am running just 1 worker everything fine.
Otherwise, if I am running more workers, I get random database errors.
It seems that Django and Postgres have problem to run queries from different processes
Is it possible to spawn workers as threads?
Otherwise could you suggest a workaround?
Hope the problem is clear.
The framework is great but without run queries in parallel it becomes useless.
Many thanks.
The text was updated successfully, but these errors were encountered:
Hi all,
I have been facing the following problem without finding a solution since a while.
I am developing a Django webapp which starts a Luigi pipeline with let s say N workers.
Every worker of the pipeline run queries.
If I am running just 1 worker everything fine.
Otherwise, if I am running more workers, I get random database errors.
It seems that Django and Postgres have problem to run queries from different processes
Is it possible to spawn workers as threads?
Otherwise could you suggest a workaround?
Hope the problem is clear.
The framework is great but without run queries in parallel it becomes useless.
Many thanks.
The text was updated successfully, but these errors were encountered: