[jboss-jira] [JBoss JIRA] (DROOLS-1443) Improve effect of caching in ChainedProperties.
Mario Fusco (JIRA)
issues at jboss.org
Mon Feb 20 08:40:00 EST 2017
[ https://issues.jboss.org/browse/DROOLS-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-1443.
---------------------------------
Fix Version/s: 7.0.0.CR1
Resolution: Done
Fixed by https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/0dc50245159ba7113bd8938dd64264448298c08c and https://github.com/droolsjbpm/drools/commit/d61a86f216e4d58ee80c39b5de3b97177476ddb2
> Improve effect of caching in ChainedProperties.
> -------------------------------------------------
>
> Key: DROOLS-1443
> URL: https://issues.jboss.org/browse/DROOLS-1443
> Project: Drools
> Issue Type: Enhancement
> Components: core engine
> Reporter: Hans Lund
> Assignee: Mario Fusco
> Priority: Minor
> Fix For: 7.0.0.CR1
>
>
> The ChainedProperties utility has a caching setting that will cache the classpath discovery of property resource - but not the parsing of these resources.
> This utility is a hot spot for the initialization of runtime environments - caching the parsed properties instead of the resource url will improve runtime performance.
> Changing the caching strategy will make hot changes to classpath property resources impossible. File based property files could be made safe cacheable by investigating file metadata and only read if changed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list