Uploaded image for project: 'Apache Apex Malhar'
  1. Apache Apex Malhar
  2. APEXMALHAR-2271

Special SpillableSetMultimap<K, Window.SessionWindow<K>> handling in ManagedState in SpillableSessionWindowedStorage

    XMLWordPrintableJSON

Details

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

    Description

      The problem with this data structure is that the key is not time based.
      This poses a problem because we will have a problem purging.
      One idea is to have `put` write the key and the window set to the timebucket that the latest window in that set belongs to, which means possible duplication of the key and the window set, and make `get` do a for loop on all time buckets to find the key. That way, purging based on the time bucket can still be done.

      Attachments

        Issue Links

          Activity

            People

              hsy541 Siyuan Hua
              davidyan David Yan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: