Hey everyone,
Is there any way i can gradually increase the concurrency of aa flow in prefect.
t
Taylor Curran
05/17/2023, 12:56 PM
Hi Nimesh,
What do you mean by concurrency? Task run concurrency? Concurrency limits on work pools?
✅ 1
n
Nimesh Kumar
05/17/2023, 12:57 PM
On work pools
My problem is postgres database broke down when i gave 500 input for the inferencing. So i wanted to know is there way i can gradually increase the concurrency limit which will give me the point where the database broke.
Of do i need to use binary search here
t
Taylor Curran
05/17/2023, 1:05 PM
Binary search can work and you can use our REST API to modify the concurrency limits set on a given workpool.
Here is our API Reference:
https://docs.prefect.io/latest/api-ref/