Hi all!
This might seem as a basic question but I’m still trying to figure out the exact way of how we should set this up in a productive environment.
We currently have 9 micro services developed in different languages ranging from NodeJS to Python and J2EE. All microservices host API endpoints which are being used by the frontends (microapps). Microservices communicate via an event messaging system.
We want to use Temporal.io for certain processes that span multiple microservices. Is it best-practice to host the workers in each individual microservice (9 workers then) and host the APIs next to it as well? Or should we isolate the workers completely from the APIs?
We can scale out each microservice to setup multiple workloads but my worry is that the workers will block the main thread in our NodeJS microservices.
Thanks,
Bram