Hi Frank,
Frank Hamilton schrieb:
Hi, I'm watching this, http://lenya.apache.org/docu20/reference/metadata.html
to perform tasks of increased performance in my application. And I am not
sure I understand this:
[…]
I have this data on the site page of my application
Documents: 5110
Sitetree nodes: 5027
I have two language and 6 tag in the section on metadata
therefore, should put 5027x2x6 in maxobjects?
In what variable? transient-store.maxobjects , xmlfile-store.maxobjects,
store.maxobjects
there should be such a section in cocoon.xconf:
<component class="org.apache.excalibur.store.impl.MRUMemoryStore"
logger="lenya.metadata.cache"
role="org.apache.lenya.cms.metadata.MetaDataCacheStore">
<parameter name="maxobjects" value="10000"/>
</component>
There you should set maxobjects to maybe 6000x2x6 = 72000.
But actually I think the documentation is missing the authoring+live
versions, so I guess this should be muliplied by 2 (=144000).
But I'd recommend running some tests to see if your JVM memory settings
can handle this cache size (e.g. by crawling the site using wget).
HTH,
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]