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

Add Directory wrapper to track per-query IO counters

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core/store
    • None
    • 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

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

            Dates

              Created:
              Updated: