> -----Original Message-----
> From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 28, 2001 10:31 AM
> To: [EMAIL PROTECTED]
> Subject: [c2] EventCache questions
>
>
> Hi,
> When starting cocoon2 2 instances of the EventCache(MRUMemoryStore) are
> created from the CachingEventPipeline and CachingStreamPipeline. For my
> understanding, now 2 different instances are existing. One for the
> C.Stream.P
> and another for the C.Event.P.
> -> 2 checker Threads, which are checking mem in the jvm and free() mem
> -> 2 writer Threads, which serializing objects to the fs.
>
> Is this correct? Is this necessary?

Wow, where have you been before? :)))
Yes, you are right - that's not necessary and this might be the performance issue.
Reducing checker threads amount down to one would decrease amount of 
runFinalization()/gc()
calls in two times - giving better performance.

Could we use just one static checker thread?
There is an issue with configuration though... Which configuration to use, from what 
store...

>
> I think one instance of the EventCache would be sufficiently, because the
> EventCache
> it doesn't matter which pipline, class, etc stores objects.

I don't know is it OK or not and how to do this...

Vadim


>
> Cheers
> Gerhard
>
>
>
> --
> Gerhard Fröhlich
> [EMAIL PROTECTED]
>
> "black holes are,
> when GOD is dividing by zero"
>
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to