Hello everybody,
I am interested what the typical round trip time for a single http request in "normal" wifi conditions is (not https).
The reason why I ask is as following:
* 8 out of 10 requests are being dealt with in less than 250 ms.
* 2 out of 10 requests takes really long (>5 seconds).
My question: These two requests taken more than 5 seconds: Is that to be expected? Are there any possibilities to tweak menuconfig to have a better performance?
Thanks a lot!
Christian
http client: expected round trip time
Re: http client: expected round trip time
I was having a similar issue when using a cheaply made dev board with a fake SILABS chip on it and I believe I have solved it by underclocking the CPU to 160mhz. This isn't ideal but my http client seems to be a lot more responsive now, similar to my ESP8266 projects.
Hope this helps!
Hope this helps!
-
- Posts: 1708
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: http client: expected round trip time
Incidentally, 5 seconds is the HTTP client's default 'timeout'. You can try playing with esp_http_client_config_t::timeout_ms...clinnemann wrote: ↑Wed Dec 27, 2023 8:19 pm* 2 out of 10 requests takes really long (>5 seconds).
My question: These two requests taken more than 5 seconds: Is that to be expected? Are there any possibilities to tweak menuconfig to have a better performance?
Who is online
Users browsing this forum: Bing [Bot] and 117 guests