Bug 1040194

Summary: Make EAP 6 web buffer size tuneable
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Aaron Ogburn <aogburn>
Component: WebAssignee: Rémy Maucherat <rmaucher>
Status: CLOSED EOL QA Contact: Michael Cada <mcada>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: rmaucher
Target Milestone: ---   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:48:55 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Aaron Ogburn 2013-12-10 22:00:31 UTC
Description of problem:

Buffers for web processors are currently fixed at 8kb.  In some cases, smaller or larger buffer sizes may be desired.

Comment 1 Aaron Ogburn 2013-12-12 16:10:28 UTC
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.

Comment 2 Rémy Maucherat 2014-01-10 14:46:53 UTC
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.