FastAPI runs api-calls in serial instead of parallel fashion
As per FastAPI’s documentation: When you declare a path operation function with normal def instead of async def, it is run in an external threadpool that is then awaited, instead of being called directly (as it would block the server). also, as described here: If you are using a third party library that communicates with … Read more