Although we have found a workaround but to mention cases :
1. We wanted to download model from s3 once and store it at the start of the service and load the model. Currently every worker is downloading again and loading the model.
2. We wanted logging to be done in one file for every worker, for that we wanted to make a multiprocessing queue which can synchronize all workers to send the logs in one file. Currently since we can't write this before spawning processes, so we are unable to make one queue overall for the service.