I’m trying to decide between cloudrun jobs and k8s...
# ask-community
j
I’m trying to decide between cloudrun jobs and k8s as the executor. My concern with cloudrun jobs is that there is a hard limit of 10k concurrent tasks. How does prefect currently handle if more than 10k tasks were loaded onto a cloudrun jobs infrastructure?
1
m
Im not sure about Prefect's ability to handle 10k concurrent tasks, but I do know you have the ability to throttle concurrent tasks either by setting a work queue concurrency limit or a tag-based task run concurrency limit.
j
And will the remaining tasks just be pending? I like the throttling idea, thanks @Mike Grabbe
m
Yes, they should stay in pending status until there's room in the queue
panda dancing 1
j
Perfect, thanks 🙂 Really appreciate it
d
@James Phoenix Out of interest, what's your use-case that will potentially run a Flow 10k times concurrently?
j
A GPT-3 article generator, all of the tasks are quite small so I’m hopefully expecting volume with a small req/compute size.