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

Cache DatabaseConfiguration values for higher performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 2.x
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated: