I need some help to understand how the threads are managed by Workers.
We are thinking of using Temporal to orchestrate several microservices. Some of these microservices take a few seconds to respond. These microservice calls will be executed in Activities. So the Worker threads will be blocked till the response is returned.
Will not that create problems if we are going to execute thousands of such Activities and all of the threads are blocked to receive the responses from HTTP endpoints? Please let me know if my understanding is incorrect.
Do we get any benefit if we use an async HTTP client?
Do we need to adjust the Worker threadpool based on the type of Activities?