Bug 1040194 - Make EAP 6 web buffer size tuneable
Summary: Make EAP 6 web buffer size tuneable
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: EAP 6.3.0
Assignee: Rémy Maucherat
QA Contact: Michael Cada
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-10 22:00 UTC by Aaron Ogburn
Modified: 2022-03-25 08:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:48:55 UTC
Type: Enhancement


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker PRODMGT-614 0 Major Resolved Make EAP 6 web buffer size tuneable 2017-08-03 21:31:20 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.