Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3758

[Java] Reduce memory overhead of Sessions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15
    • Java Common
    • None

    Description

      The 0-10 Session object creates a 64Kb command buffer by default... in the context of a broker which may have thousands of concurrently open sessions this is too large a burden.

      Observation has shown that most common use cases have relatively low utilization of this buffer, and that the therefore we can replace the use of a fixed size array with an Integer keyed Map.

      If performance / autoboxing overhead is observed to be an issue, we could later update to use a primitive int base Map-like implementation such as that available here: http://acs.lbl.gov/software/colt/

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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