1. A computer-implemented method to optimize an execution of a business process, comprising: receiving a request to execute a business process; upon receiving the request a processor of a computer determining an optimal number of threads for executing the business process by a thread optimization model; iteratively distributing one or more computations in the determined optimal number of threads by an inter-thread optimization model; and based on the determined optimal number of threads and the iterative distribution of the one or more computations, optimizing the execution of the business process.