okok :) let me make sure I have it right :)
if I have 10k streams running, and each has been sent 10kb (without reseting the connection stream) the total footprint to the server is: 0
--Rich
----- Original Message ----
From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
To: users_at_grizzly.dev.java.net
Sent: Wednesday, May 6, 2009 7:24:00 PM
Subject: Re: Streaming comet buffer
Salut,
Richard Corsale wrote:
> Quick question,
> if I send 7k characters up a stream (streaming comet), does Grizzly accrue an additional 7kb memory foot print?
Yes, by default it will buffer the data unless you explicitly flush it. The idea here is to limit the number of I/O operations by buffering the data if possible. But since you want to stream, the buffer will always be flushed so no data in memory.
Does that help?
A+
-- Jeanfrancois
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: users-help_at_grizzly.dev.java.net