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

Prepared Query should come from DB after few minutes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cube
    • None

    Description

      Prepared Queries were getting destroyed after 1 week, it was bloating the memory(as in the new flow, we have 100K prepared queries/day), we had to restart Lens every 12 hours.
      I changed the flow:

      1. Prepared Query should come from Memory for first 10 minutes. In the old flow it was in memory for 1 week.
      2. After that PreparedQuery will get destroyed(old flow)
      3. After 10 minutes, it should come from DB.

      Attachments

        Issue Links

          Activity

            People

              rajashekhar.c@inmobi.com Rajashekhar
              rajashekhar.c@inmobi.com Rajashekhar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h