GitHub
Moderator
[httpstream] Add ring buffer for HTTP/HTTPS streams
This introduces a configurable ring buffer (default 2MB) for eHttpStream and eHttpsStream. The streaming thread now acts as a producer, filling this buffer, while the read method acts as a consumer. This decouples network I/O from data consumption, allowing for pre-buffering which improves streaming robustness and handles network fluctuations more gracefully.
Continue reading...
This introduces a configurable ring buffer (default 2MB) for eHttpStream and eHttpsStream. The streaming thread now acts as a producer, filling this buffer, while the read method acts as a consumer. This decouples network I/O from data consumption, allowing for pre-buffering which improves streaming robustness and handles network fluctuations more gracefully.
Continue reading...