JoshCap20 / areion

The fastest Python web server. A lightweight, fast, and extensible asynchronous Python web server framework.
MIT License
0 stars 1 forks source link

Investigate Non-2xx or 3xx Responses from Load Test #55

Closed JoshCap20 closed 11 hours ago

JoshCap20 commented 2 days ago

While we overtook FastAPI in everything and then greatly reduced socket errors by over 1000, we still had 405 responses in this category out of a total of 1,637,309 requests. Although this isn't even close to 1% of all responses, we should still strive for 0.

I'm assuming it's becaused the socket error/connect error/ some error that isn't a subclass of HttpError returns a 500 error for any other errors.

JoshCap20 commented 2 days ago

Deep dive:

All of these responses have status code 408, meaning "Request Timeout"

JoshCap20 commented 2 days ago

Increasing timeout to 30 from 15 seconds dropped non 200 or non 300 responses to under 10.