Oliver Zeigermann <[EMAIL PROTECTED]> writes:

> Martin Holz wrote:
> > I think setting  the log chanel name to TxLRUObjectCache.name or
> > org.apache.slide.util.TxLRUObjectCache.name in
> > TxLRUObjectCache.java, line 113 would make it easier to configure it
> > in log4j.
> 
> 
> I agree. As there can be multiple top level stores I would also
> suggest to include the name of the store (in our example tx). This
> might result in channels like
> 
> 
> TxLRUObjectCache(tx(object)).
> 
> Or is this too much?

No. It is usefull. However my problem was the syntax of the name:
A(B(C))) vs A.B.C  How do you configure log4j for the first
case?   


> 
> I will attach the according version. I also added configurable cache
> sizes. You can configure them in Domain.xml like this:
> 
> 
> ...
> <store name="tx" classname="org.apache.slide.store.TxCacheStore">
>    <parameter name="cache-size">1000</parameter>
>    ...
> </store>

Hm, if cache size is configurable, it should be independent for the
the different caches. No point in cacheing the last 10000 locks. 


> Again: Any ideas about simple caching of content? Or do you think this
> is not so important?

It's not important to me. Most file systems cache anyway. 
For a local URL I get transfer rates up to 50 MByte/s. That's
more, than the net can handle.

Martin 


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

Reply via email to