Re: Abusive WebSocket test getting an Exception
Posted: Tue Mar 15, 2022 9:52 am
In the hopes that more information might trigger someone with experience with this...
During an upgrade to my WebSocket layer, I have been able to get a throughput upgrade. I can now send 50 byte messages at 1000 Hz to four clients => A server throughput of 200KB/sec.
What I found during abusive testing was that it is sensitive to connection strength. No big surprise there as far as throughput, but NOT for getting an Exception.
Here hoping this rings a bell.
Thanks.
During an upgrade to my WebSocket layer, I have been able to get a throughput upgrade. I can now send 50 byte messages at 1000 Hz to four clients => A server throughput of 200KB/sec.
What I found during abusive testing was that it is sensitive to connection strength. No big surprise there as far as throughput, but NOT for getting an Exception.
- The above numbers were achieved on a desktop with antennas about two feet away from each other and they were connected directly to each other using a SoftAP connection. No data loss occurred overnight sending over 5GB. Still running without Exceptions.
- On a separate laptop, still using SoftAP and with the ESP8266 about two feet away, I could not run it over 100 Hz without getting lost data. And after about a couple hours of this and about 1GB of data transfer, it exceptioned.
Here hoping this rings a bell.
Thanks.