---
title: "Comment by Farhan Saif on \"Multiprocessing, Multithreading and GIL: Essential concepts for every Python developer\" | Hashnode"
description: "Hi, Thanks for this amazing article. I got a question. When using flask, we can use uwsgi as a production server,while serving it with nginx, we need to define"
url: "https://hashnode.com/posts/python-gil/60ba2e894f018f10d6234f40/comment/60bc69fcfffc4c13b9cd7241"
---

[Discussion](https://hashnode.com/posts/python-gil/60ba2e894f018f10d6234f40)

Comment [Multiprocessing, Multithreading and GIL: Essential concepts for every Python developer](https://hashnode.com/posts/python-gil/60ba2e894f018f10d6234f40)

[Farhan Saif](https://hashnode.com/@FarhanSaif)

[Jun 6, 2021](https://hashnode.com/posts/python-gil/60ba2e894f018f10d6234f40/comment/60bc69fcfffc4c13b9cd7241)

Hi, Thanks for this amazing article. I got a question. When using flask, we can use uwsgi as a production server,while serving it with nginx, we need to define the amount of process / threads that will create access for multiple users. So,how to tackle this client request handling, is it best practice to use multiprocessing+multithreading in that case? \[Thanks for reading my question and I hope you'll continue this endeavour .Recently i started managing a vps and I'm confused about what are the best practices in this field\]

[Ahmed Sadman Muhib](https://hashnode.com/@ahmedsadman)

[Jun 6, 2021](https://hashnode.com/posts/python-gil/60ba2e894f018f10d6234f40/comment/60bc69fcfffc4c13b9cd7241#reply-60bc6b07fffc4c13b9cd7247)

In uwsgi or gunicorn, you define the amount of processes (called workers) that you want to run. Just workers should be fine. No need to use threads.
