cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <>
Subject RE: Improved the feeled performance!
Date Thu, 17 Jan 2002 17:49:57 GMT

>-----Original Message-----
>From: Stefano Mazzocchi []
>Sent: Thursday, January 17, 2002 6:28 PM
>Subject: Re: Improved the feeled performance!
>Enke Michael wrote:
>> Hi people,
>> as we have a default Buffer of 8192 byte in the AbstractTextSerializer
>> sometimes it takes very long until any result is visible in the browser.
>Uh, yeah, didn't know we had such a big buffer....hmmmm...
>> Therefore I introduced an "OutputFlusher" which flushes the BufferedOutputStream
>> per default every 500 ms. Now the pageheader is shown immediately, independent of
>> how long it takes to fill 8192 byte.
>> I hope this helps.
>> I prepared AbstractTextSerializer to get the time in milliseconds
>> from cocoon.xconf, the name is "flush-time", default is 500, values below 100 are
set to 100,
>> value of 0 means no flushing.
>> But I have no idea how to setup, what to put in cocoon.xconf.
>> Do I have to put AbstractTextSerializer into cocoon.roles???
>> Attached the diff and a new class for cocoon/serialization
>Thanks for the patch, but now I wonder: should we make this a more
>general component?
>I mean, sort of a 'heartbeat' thread in background does all sort of
>time-dependent things (cleaning up the cache, flush buffers, and so on)
>What do you people think?

How about using the StoreJanitor Thread? You can configure the interval in
cocoon.xconf file. So we don't have to add a new Thread.

Hey! It compiles! Ship it!

To unsubscribe, e-mail:
For additional commands, email:

View raw message