Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-571

LRUCache autowarmCount should support percentages

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      a recent thread reminded me of an old idea that never got implemented...

      the autowarmCount for LRUCaches should support "percentages" which get evaluated relative the current size of the cache when warming happens.

      in this way, a Solr instance might be configured with autowarmCount="50%" to autowarm the top half of the queries ... a master machine might be configured this way to give some autowarming if it is inadvertently being queried, but things won't be maintained in the caches in perpetuity ... each subsequent cache instance would have fewer and fewer of the "old" queries warmed automatically.

        Attachments

        1. SOLR-571.patch
          26 kB
          Chris M. Hostetter
        2. SOLR-571.patch
          19 kB
          Tomas Eduardo Fernandez Lobbe

        Issue Links

          Activity

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              hossman Chris M. Hostetter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment