Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5537

Reduce Empty Map allocations in Directory.SSTableLister

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • 2.0 beta 1
    • None
    • None

    Description

      SSTableLister allocates HashMaps consistently that are very often not used.

      See output: http://pastebin.com/Ky4hUn5X

      Format is

      Type Date SourceLine CollectionSize NumBuckets NumBucketsUsed

      The snapshot is taken after the size of the collection hasn't changed for 5 seconds.

      Postpone creation of hashmap until you need it.

      Attachments

        1. 5537.txt
          3 kB
          David Brosius

        Activity

          People

            dbrosius David Brosius
            dbrosius David Brosius
            David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: