Ori Klipstein
06/26/2023, 11:02 AMconcurrent.futures.ProcessPoolExecutor
or multiprocessing.Pool
but get stuck on the ECS agent.
You could think of it as if the `get_pokemon_info`is a CPU bound command that takes 1 minute to run and therefore it makes sense to run these in parallel (not like the current get_pokemon_info
, which is i/o bound and is a pretty light API call and therefore makes sense to run concurrently using async).
So my question is how can I enable my own parallelism? (Great comment about Concurrency versus parallelism is in the Prefect docs)