2 ms·
I'm not sure about your workload but FastAPI should definitely be able to process more than one request per second assuming that the workload isn't placing a co
by supriyo-biswas 2y ago
I'm not sure about your workload but FastAPI should definitely be able to process more than one request per second assuming that the workload isn't placing a compute bound or synchronous task in the event loop and as long as you're using an ASGI server like Gunicorn for serving requests.
The thing about not marking compute bound or synchronous tasks properly was the cause of a gnarly performance issue with an application at a previous employer, and such mistakes are easy to make -- I'll give you that.