I’m running a container running open speed test. The download pulls appropriately but the upload is not correct. I contacted them and they said to set request_buffers 35MiB. Documentation says to avoid request buffers if at all possible. So I’m wondering if someone could suggest how best to compensate for this for accurate speed tests through the proxy.
Buffering increases memory usage. Because instead of streaming the data in small chunks, the whole payload (up to the buffer size) is read into memory.
In production environments with untrusted or many clients, this can be a very poor and expensive choice That’s why we recommend against it.
For a one-off speed test that’s just used temporarily and only with that one client, you can enable buffering.