I am using python and flask.
I am using a microservices built using flask and configured to support a service bus architecture. The microservice is capable of making concurrent service calls and now I need to improve the performance in the service calls being made concurrently.
Initially I used python threading module however it was resulting in blocking calls for main service which invoked it. I would like to know if we try using producer/consumer style of setting this up will that do some good to my requirement.
Basically my main thread should not get stuck indefenitely and that happens when I use join().