Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 22141 invoked from network); 17 Feb 2008 18:23:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2008 18:23:10 -0000 Received: (qmail 74032 invoked by uid 500); 17 Feb 2008 18:22:58 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 73968 invoked by uid 500); 17 Feb 2008 18:22:58 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 73951 invoked by uid 99); 17 Feb 2008 18:22:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Feb 2008 10:22:58 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Feb 2008 18:22:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D1E1F234C048 for ; Sun, 17 Feb 2008 10:22:34 -0800 (PST) Message-ID: <1753131812.1203272554858.JavaMail.jira@brutus> Date: Sun, 17 Feb 2008 10:22:34 -0800 (PST) From: "Emmanuel Bourg (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (CONFIGURATION-180) Cache DatabaseConfiguration values for higher performance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Bourg updated CONFIGURATION-180: ----------------------------------------- Fix Version/s: (was: 1.6) 2.0 > Cache DatabaseConfiguration values for higher performance > --------------------------------------------------------- > > Key: CONFIGURATION-180 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-180 > Project: Commons Configuration > Issue Type: Improvement > Reporter: Stephen Cooper > Assignee: Emmanuel Bourg > Priority: Minor > Fix For: 2.0 > > Attachments: dbpreload.txt, Enhancement33553.checkstyle.patch, Enhancement33553.patch > > > The DatabaseConfiguration class queries each property as it gets the request for each property. This is > nice for ensuring that you're always up to date, but it doesn't give very good performance in enterprise > applications, where the database may not be on the same subnet. > What we need is the ability to hit the database once, get all the keys/values and then serve up > "getString" etc. from that cache. > I'll be opening a separate enhancement to have a generic Reloading Strategy which could then be > applied to this caching DatabaseConfiguration approach. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.