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

getFunctions methods produce too much garbage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.0.6, 3.6
    • None
    • None

    Description

      While profiling an heavy write workload on a single machine, I discover that calls to getFunctions were producing a lot of garbage.
      Internally, the getFunctions method use Iterators or Iterables functions that creates new immutable collections at each level.
      As getFunctions is called for each SELECT, INSERT, UPDATE or DELETE through the checkAccess method the impact is not neglectable.

      Attachments

        1. 11593-3.0.txt
          44 kB
          Benjamin Lerer
        2. 11593-trunk.txt
          45 kB
          Benjamin Lerer

        Activity

          People

            blerer Benjamin Lerer
            blerer Benjamin Lerer
            Benjamin Lerer
            Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: