On Sat, Aug 22, 2009 at 09:44:00PM +0530, Asankha C. Perera wrote: > Hi All > > If I understand correctly the SOCKET_BUFFER_SIZE parameter specifies the > size of the SessionInputBuffer. However the SessionInputBuffer is simply > used to read the header of a http message (i.e. the request line and > http headers) - and never intended to read the entity body / payload.
This is not entirely correct. The socket buffer is also used to read the body of chunk coded messages. If > so is there any specific reason to call this parameter the > SOCET_BUFFER_SIZE which seems a misleading - or have I missed something? Maybe 'session buffer' would have been a better name. What would you call such a buffer? > Also if this is true, why is this generally set to 8K instead of > something much smaller? > Based on a number of tests I have run socket buffers of that size appear to produce the best I/O throughput. It can certainly be smaller but should not be smaller than 1K. Cheers Oleg > thanks > asankha > > --------------------------------------------------------------------- > 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]
