Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-180

Cache DatabaseConfiguration values for higher performance

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.x
    • Component/s: None
    • Labels:
      None
    • Bugzilla Id:
      33553

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ebourg Emmanuel Bourg
                Reporter:
                apache@thecoopers.ws Stephen Cooper
              • Votes:
                4 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: