Uploaded image for project: 'Apache AWF'
  1. Apache AWF
  2. AWF-178

ByteBuffer pool

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None

    Description

      The discoveries that were found in # 81 made me curios about introducing a ByteBuffer pool (experimental).
      Design aspects:
      Pool.allocate(int requestedCapacity) will always return a bb with capacity >= requestedCapacity. If no vacant bb is present a new bb will be allocated. To void ugly "!= null" checks in the "pool client" code.

      The characteristics of the pool should be configurable by the end user (e.g max pool size, both by # of bb and by mb (total size) (inspired by memtable configuration in apache cassandra)).

      Attachments

        Activity

          People

            Unassigned Unassigned
            niklas Niklas Therning
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: