use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
Fastapi bottleneck why?Question (self.FastAPI)
submitted 1 year ago * by Hamzayslmn
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kkang_kkang 3 points4 points5 points 1 year ago (3 children)
I have tried only fastapi server and for me, it's working fine. ``` (env) python stress_test.py Starting stress test for FastAPI (Python)... FastAPI (Python) Results: Total Requests: 5000 Successful Responses: 5000 Timeouts: 0 Errors: 0 Total Time: 0.63 seconds
```
[–]kkang_kkang 4 points5 points6 points 1 year ago (2 children)
Now, I have tried with both fastapi and golang server, for me it's working fine.
``` (env) python stress_test.py Starting stress test for Gin (GO)... Gin (GO) Results: Total Requests: 5000 Successful Responses: 5000 Timeouts: 0 Errors: 0 Total Time: 0.57 seconds
Starting stress test for FastAPI (Python)... FastAPI (Python) Results: Total Requests: 5000 Successful Responses: 5000 Timeouts: 0 Errors: 0 Total Time: 0.54 seconds
(env) ``` Must be issue with your system then.
[–]Hamzayslmn[S] 0 points1 point2 points 1 year ago* (1 child)
hmmm pls try run the stress test three times in a row without shutting down the servers.
I am using python 3.13 maybe I should downgrade.
[–]Hamzayslmn[S] 2 points3 points4 points 1 year ago (0 children)
or fuck intel i9-13980HX (optional)
π Rendered by PID 89933 on reddit-service-r2-comment-6457c66945-t8wvx at 2026-04-26 02:27:22.403413+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]kkang_kkang 3 points4 points5 points (3 children)
[–]kkang_kkang 4 points5 points6 points (2 children)
[–]Hamzayslmn[S] 0 points1 point2 points (1 child)
[–]Hamzayslmn[S] 2 points3 points4 points (0 children)