The README.md file for FastAPI being on par seems misleading I think they could say that it's one of the fastest python frameworks to be more precise since I'm now going to edit this what I'm saying is FastAPI can't handle that many requests per second.
Is there any way to speed up the request per second?
how do you run FastApi with uvicorn or gunicorn?
what is your gunicorn config?
requests per second depend on many parameters.
I'm just doing this "uvicorn main:app --reload"
I used autocannon for the test "autocannon -c 100 -d 40 -p 10 localhost:8000", 2 times the first one was for a warm up. If I'm doing this wrong then my apologies I'm new to using a framework with python.
Okay
Oh it's because I'm using windows
What made you think the problem is related to your OS?
@ycd Do you have any test which could show me the req per sec you got?
Okay thanks.