Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-1444

Optimize the algorithm of finding all eligible union candidates

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • cube
    • None

    Description

      Current algorithm is given n candidates, first find 2 n -1 union candidates using power set and then among them, remove the ones which don't cover the queried time range(s).

      Proposed optimization: Pushdown of the prune logic. We'll not create a list of 2 n -1 candidates, we'll check for coverability before adding it as an eligible union candidate. This will bring down the number of UnionCandidates in the memory and preventing Full-GC.

      Attachments

        1. LENS-1444.01.patch
          2 kB
          Rajat Khandelwal

        Activity

          People

            prongs Rajat Khandelwal
            prongs Rajat Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: