Hi Hakan,

Servlet 2.2 specs provide a method

"HttpServletResponse.setBufferSize(int size)"
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletRespon
se.html
 which I use to handle larger responses.
(But I didn't yet measure its influence on response performance)

Dirk

----- Original Message -----
From: Shapira, Yoav <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Sent: Thursday, September 18, 2003 2:33 PM
Subject: RE: Benefits of increasing bufferSize in server.xml



Howdy,
Why wonder when you can use JMeter?  Personally I haven't played enough
with bufferSize to conclusively answer your question, but clearly the
need for tuning that parameter is directly related to the contents of
your webapp, so only you can tune if for your webapp ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Kilic, Hakan [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 17, 2003 10:09 PM
>To: '[EMAIL PROTECTED]'
>Subject: Benefits of increasing bufferSize in server.xml
>
>Hi all,
>
>I've been tunning my Tomcat server and just wondering about the effects
of
>increasing the bufferSize in the server.xml. From the tomcat
documentation
>bufferSize is "The size (in bytes) of the buffer to be provided for
input
>streams created by this connector. By default, buffers of 2048 bytes
will
>be
>provided." Does this only apply to input streams (requests)? What about
>large files Tomcat has to serve up to request, how do you increase the
>buffer size it uses in this case (responses)?
>
>I'm basically looking for the Tomcat equivalent of SendBufferSize in
>Apache.
>
>
>Thanks in advance,
>
>-Hakan Kilic
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to