FastAPI: Thread Pool and Event Loop
I think it changes based on type of backend you use. I can talk about FastAPI.
For eg: Python FastAPI already has a requests queue in built. All requests coming gets collected here then processed.
So by default the execution would be sequential if you are just using def. ( If you have 4... See more
Ayush Yadavx.com