Socket sendBufferSize and receiveBufferSize

2009-09-30 Thread Ronen
Hi, I'm trying to figure out what is the guideline for setting the values of sendBufferSize and receiveBuffersize on sockets. Is making them large as possible always the best practice? How does buffer size effect performance in general and in cases where clients have low bandwidth? Is there any

Re: Socket sendBufferSize and receiveBufferSize

2009-09-30 Thread Ronen
Thanks. By disabling naggle algorithm you mean setting the TCP_NODELAY? On Wed, Sep 30, 2009 at 12:05 PM, Emmanuel Lecharny elecha...@apache.orgwrote: Ronen wrote: Hi, I'm trying to figure out what is the guideline for setting the values of sendBufferSize and receiveBuffersize on sockets.

Re: Socket sendBufferSize and receiveBufferSize

2009-09-30 Thread Emmanuel Lecharny
Ronen wrote: Thanks. By disabling naggle algorithm you mean setting the TCP_NODELAY? yep. On Wed, Sep 30, 2009 at 12:05 PM, Emmanuel Lecharny elecha...@apache.orgwrote: Ronen wrote: Hi, I'm trying to figure out what is the guideline for setting the values of sendBufferSize and