Building a basic multiprocess worker in python

I ve recently been working quite a bit on a worker application in python. This worker picks up tasks over a gRPC service executes those tasks, and publishes the results via gRPC. Because of python s Global Interpreter Lock ( GIL ), threads don t help for CPU intensive workloads. Instead, I m using multiprocessing to run additional processes per worker and get better CPU utilization at the cost of…