Louis Auneau
12/02/2021, 9:25 AMdaniel
12/02/2021, 1:59 PMLouis Auneau
12/02/2021, 2:00 PMjohann
12/02/2021, 2:42 PMcelery_executor
seems close to what you’re describing. It distributes ops to a pool of workers. Note this is distinct from the celery_k8s_job_executor
, which uses the celery queue but does actually compute in ephemeral jobs. You could consider using the DefaultRunLauncher, which creates run workers in subprocesses in the standing grpc server, which would then hand out the Celery tasks. We generally caution against heavy usage of the DefaultRunLauncher because spinning up a bunch of processes on one box can be an issue, but it may work for you. At least your actual compute isn’t happening on that box- it’s out on the Celery workers.