Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2679

TransferQueueBundler: use concurrent queue

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • 5.5
    • None
    • None
    • False
    • None
    • False

      Currently, the multiple-producer-single-consumer queue used in TransferQueueBundler is ArrayBlockingQueue. Try the following to see if it improves performance (BundlerStressTest?):

      • LinkedTransferQueue: unbounded, but put() could be overriden in a subclass to either discard the element (similar to RED), or block, when the queue is full
      • LinkedBlockingQueue
      • ConcurrentLinkedQueue(2): remove the queue impl which isn't used by TransferQueueBundler

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: