Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8884

Add Directory wrapper to track per-query IO counters

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Lucene's IO abstractions (Directory, IndexInput/Output) make it really easy to track counters of how many IOPs and net bytes are read for each query, which is a useful metric to track/aggregate/alarm on in production or dev benchmarks.

      At my day job we use these wrappers in our nightly benchmarks to catch any accidental performance regressions.

        Attachments

        1. LUCENE-8884.patch
          12 kB
          Michael McCandless
        2. LUCENE-8884.patch
          23 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: