Formula to predict time to do a number of tasks I can complete per hour if I can complete tasks concurrently.

550 Views Asked by At

I am looking to see if there is a specific formula that can predict the amount of time it will take to accomplish a set number of tasks if I can do a certain number of tasks concurrently, based on an average length of time for each task.

My specific example:

I have about 80,000 tasks that need to be completed by an automated system. The maximum time limit for each task is 15 minutes, at which point the task is expired and not completed.

I can run 25 of these tasks concurrently.

I also have a limit of attempting 100 tasks per hour.

Each task could potentially take between 1 second and the full 15 minutes, though at this point the average is closer to 10 minutes for tasks which are completed.

I can decrease the maximum time limit for each task as necessary.

I would like to find a formula to predict the amount of tasks completed based on adjusting my variables.

Example: If I reduce the maximum time limit for completion down to 13 minutes, with an average completion time of 10 minutes, how many tasks can I attempt per hour? What about 13.5 minutes and an average of 11 minutes?

I have searched as best I can, without knowing if there exists a theorem to predict such a thing.

I have found this: Probability which doesn't have a solid answer, and is not applicable because my scenario does not require sequential completion of tasks.

I have also found myriad sites such as this: Calculate Averages Which again doesn't solve my problem because this is simply how to average time spent on a task.

Thank you.