Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5285

Optimize upper / lower byte range for key range scan on windowed stores

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streams

    Description

      The current implementation of WindowKeySchema / SessionKeySchema upperRange and lowerRange does not make any assumptions with respect to the other key bound (e.g. the upper byte bound does not depends on lower key bound).

      It should be possible to optimize the byte range somewhat further using the information provided by the lower bound.

      More specifically, by incorporating that information, we should be able to eliminate the corresponding upperRangeFixedSize and lowerRangeFixedSize, since the result should be the same if we implement that optimization.

      Attachments

        Issue Links

          Activity

            People

              guozhang Guozhang Wang
              xvrl Xavier Léauté
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: