Hi. I'm trying to run program in multiprocess mode (25 CPU, 40 GB RAM). For that purpose I'm using flask with gunicorn. Each recognition with 1 worker takes 1.8-2 seconds, but with 2 workers - 50 seconds. Code is the same as in rest_examples folder. What causes this delay, OCR, classification or detection?
Hi. I'm trying to run program in multiprocess mode (25 CPU, 40 GB RAM). For that purpose I'm using flask with gunicorn. Each recognition with 1 worker takes 1.8-2 seconds, but with 2 workers - 50 seconds. Code is the same as in rest_examples folder. What causes this delay, OCR, classification or detection?