You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Pankaj Gupta <pa...@yogins.com> on 2009/05/22 02:15:54 UTC

tradeoffs of CoreConnectionPNames.SOCKET_BUFFER_SIZE

Hi,

What are the tradeoffs of using a very large value (e.g., say 1MB) of  
CoreConnectionPNames.SOCKET_BUFFER_SIZE on client performance?

Thanks,
Pankaj

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: tradeoffs of CoreConnectionPNames.SOCKET_BUFFER_SIZE

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, May 21, 2009 at 05:15:54PM -0700, Pankaj Gupta wrote:
> Hi,
>
> What are the tradeoffs of using a very large value (e.g., say 1MB) of  
> CoreConnectionPNames.SOCKET_BUFFER_SIZE on client performance?
>
>

Socket buffers larger than 8192 do not seem to produce any tangible difference
in terms of performance. It would be just a waste of heap space.

Cheers

Oleg


 Thanks,
> Pankaj
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org