Kao Phetchareun
06/03/2024, 6:28 PM.submit
method to launch many tasks concurrently (after looping through a list). This worked fine for smaller flows, but for “longer” flows (i.e., where the number of tasks submitted is less than the API task rate limit of 400). Curious to know if our current design of looping through a list and submitting tasks is not optimal. For reference we’re converting a pure python ETL script to Prefect where the original python script utilized threading (and not necessarily asyncio)Kevin Grismore
06/03/2024, 6:45 PMKao Phetchareun
06/03/2024, 6:47 PMKevin Grismore
06/03/2024, 6:48 PMKao Phetchareun
06/03/2024, 6:49 PMKao Phetchareun
06/03/2024, 6:49 PMKevin Grismore
06/03/2024, 6:49 PMrate_limit
hereKevin Grismore
06/03/2024, 6:51 PMKao Phetchareun
06/03/2024, 6:51 PMKevin Grismore
06/03/2024, 6:52 PMJanet Carson
06/03/2024, 7:32 PM@task(tags=[MY_PROJECT_CONCURRENCY_TAG])
def do_some_stuff(...)
...
Janet Carson
06/03/2024, 7:34 PMKao Phetchareun
06/03/2024, 7:42 PM