How is buffer size and buffer number determined in the HTTP response chain?

Sergey A. Osokin osa at freebsd.org.ru
Tue Jun 14 02:10:45 UTC 2022


Hi,

hope you're doing well.

On Sun, Jun 05, 2022 at 11:06:53PM -0400, hanzhai wrote:
> I saw 4k, 16k, and 32k buffer sizes in the response chain, why not keep all
> buffers in the same size?

It's just because of the memory usage optimization [on a specific
architecture] and those assumptions that developers have when they
wrote a code.

Please let me know if you have any questions.

Thank you.

-- 
Sergey A. Osokin



More information about the nginx mailing list