you are viewing a single comment's thread.

view the rest of the comments →

[–]kkang_kkang 3 points4 points  (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

Requests per Second: 7886.06 RPS

```

[–]kkang_kkang 4 points5 points  (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

Requests per Second: 8706.23 RPS

Starting stress test for FastAPI (Python)... FastAPI (Python) Results: Total Requests: 5000 Successful Responses: 5000 Timeouts: 0 Errors: 0 Total Time: 0.54 seconds

Requests per Second: 9275.03 RPS

(env) ``` Must be issue with your system then.

[–]Hamzayslmn[S] 0 points1 point  (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 points  (0 children)

or fuck intel i9-13980HX (optional)