Handle green threads for IO tasks #28361
-
Celery offers the capability to concurrently run green threads like I didn't manage to setup an Airflow project which follow this idea. I would appreciate a lot to know how do you tackle such issue, about Airflow compatibility with green threads ? simple dag :
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
A number of people reported them working so there is nothing "generic" that we can help with. Maybe except giving you some leads where you should furrther investigate and debug it. There are some problems reported with gevent monkeypatching that might not work in some cases (the nature is it rather subtle and convoluted): #8212 (you will find workarounds there by patching local settings) and there is a possible fix coming in #28283. But this would be just a guesswork - you need to look at your logs and find out what exactly does not work for your and investigate it - if you report enough details and evidences and logs showing the problem maybe someone here will be able to help you. BTW. Do not expect that docker-compose will just work out of the box in all cases. Docker Compose has a number of limitations and you might have hit some of them. This Docker compose is just there to "play with". If you want something more serious, there are no "ready to use recipes" to any problems you might have - Docker Compose is known to require high level of expertise and understanding what's going on under the hood if you want to make it production -ready and optimised. As mentioned in the note:
Again - If you report the problems you had and result of your investigations (how did you debug it, what did you found and what exactly does not work, we might be able here to help much more efficiently to solve your problems but without it, it's just a guesswork - you need to really understand what's not working if you reach out for help in case of such problems. |
Beta Was this translation helpful? Give feedback.
A number of people reported them working so there is nothing "generic" that we can help with. Maybe except giving you some leads where you should furrther investigate and debug it.
There are some problems reported with gevent monkeypatching that might not work in some cases (the nature is it rather subtle and convoluted): #8212 (you will find workarounds there by patching local settings) and there is a possible fix coming in #28283.
But this would be just a guesswork - you need to look at your logs and find out what exactly does not work for your and investigate it - if you report enough details and evidences and logs showing the problem maybe someone here will be able to help you.
BTW. D…