Qpid
  1. Qpid
  2. QPID-3758

[Java] Reduce memory overhead of Sessions

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Component/s: Java Common
    • Labels:
      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/

        Activity

        Rob Godfrey created issue -
        Rob Godfrey made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Rob Godfrey made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Rob Godfrey
            Reporter:
            Rob 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

                Development