Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5874

Store TTL expire times in B+ tree on per-partition basis

    XMLWordPrintableJSON

Details

    Description

      TTL expire times for entries are stored in PendingEntriesTree, which is singleton for cache. When expiration occurs, all system threads iterate through the tree in order to remove expired entries. Iterating through single tree causes contention and perfomance loss.
      Related performance issue: https://issues.apache.org/jira/browse/IGNITE-5793
      We should keep instance of PendingEntriesTree for each partition, like we do for CacheDataTree.

      Attachments

        1. IgnitePdsWithTtlTest.java
          7 kB
          Dmitry Pavlov

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              ivan.glukos Ivan Rakov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: