[opencms-dev] Performance Patch for Opencms

Brabenetz, Harald harald.brabenetz at bearingpointconsulting.com
Wed Aug 25 09:18:59 CEST 2010


Thanks for the hint,

I created the Bugreport http://bugzilla.opencms.org/show_bug.cgi?id=1900

kind regards,
Harald

-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Achim Westermann
Sent: Dienstag, 24. August 2010 17:42
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Performance Patch for Opencms

Hi Harald,

maybe this is a candidate for an bugzilla entry along with the patch and a good explanation. Just to make sure that this is not forgotten in future releases.

kind regards,

Achim

-------- Original-Nachricht --------
> Datum: Tue, 24 Aug 2010 17:20:38 +0200
> Von: "Brabenetz, Harald" <harald.brabenetz at bearingpointconsulting.com>
> An: \'The OpenCms mailing list\' <opencms-dev at opencms.org>
> Betreff: [opencms-dev] Performance Patch for Opencms

> Hi,
>
> we created a performance-Patch for the Class CmsXmlEntityResolver.java
>
> The CmsXmlEntityResolver clears his cache on every publish event, even if
> no "schema-definition" where published.
> Also the LRU Cache has low dimensions (128 row-File-Content Entries and 64
> parsed Schema-Definition Entries for the whole online and offline
> project).
>
> * We made the following changes:
>    1. The Cache will only be cleared on publish-event if a Schema
> definition (*.xsd or *.dtd) where found in the publish-List.
>    2. The LRU-Cache were increased:
>       o 1024 entries of row-File-Content (Map m_cacheTemporary)
>       o 512 entries of already parsed Schema Defintion Objects (Map
> m_cacheContentDefinitions)
>
> The Patch is attached (Works at least for OpenCms 7.5.2 and 7.5.3)
>
> With friendly regards,
> Harald Brabenetz
>
> INFONOVA GmbH
> Sitz: Unterpremst?tten bei Graz
> Firmenbuchgericht: Landesgericht f?r ZRS Graz
> Firmenbuchnummer: FN 44354b
>
> The information in this email is confidential and may be legally
> privileged. If you are not the intended recipient of this message, any review,
> disclosure, copying, distribution, retention, or any action taken or omitted to
> be taken in reliance on it is prohibited and may be unlawful. If you are
> not the intended recipient, please reply to or forward a copy of this message
> to the sender and delete the message, any attachments, and any copies
> thereof from your system.

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

INFONOVA GmbH
Sitz: Unterpremst?tten bei Graz
Firmenbuchgericht: Landesgericht f?r ZRS Graz
Firmenbuchnummer: FN 44354b

The information in this email is confidential and may be legally privileged. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.



More information about the opencms-dev mailing list