On Thu, Jan 24, 2002 at 11:10:49AM -0600, Bob Maccione wrote:
> I've been playing with the BlockSize on my app (that's not quite done yet)
> and am wondering what the downside of having a larger BlockSize is?  If I
> know that my max message size will be 30k what is wrong with setting the
> BlockSize to 30k (now I understand that you don't want to set it to really
> really large sizes but where are the tradeoffs?

It eats up more memory.  If you have 200 clients each sending 30KB
blocks, it could potentially chew up 6MB of memory just to buffer
them.  Come to think of it, that's not a whole lot these days.

I imagine at some point the amount of time it takes to move those
blocks around breaks even with the speed gain you get from having
them.  I can't begin to guess where that occurs.

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net

Reply via email to