Hide Forgot
Description of problem: Buffers for web processors are currently fixed at 8kb. In some cases, smaller or larger buffer sizes may be desired.
More specifically, the connector InputBuffer and OutputBuffers use a default size of 8 kb for their CharChunks and ByteChunks. In some cases, smaller buffer sizes here may be desired for heap savings in high concurrent load and connection count scenarios.
The 8KB include the HTTP header, and as a result it is difficult to go below this value since the IO would become inefficient. The size is however configurable using a system property and could go below that for the NIO connector, for example. For the Servlet layer, the 8KB is a default from the Servlet specification.