Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-520 Performance Improvements
  3. HAMA-568

Add faster synchronized collections for message queues

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.3
    • Component/s: None
    • Labels:
      None

      Description

      Currently the synchronized messaging (accessed concurrently via RPC) is done with a single mutex object. See org.apache.hama.bsp.message.SynchronizedQueue.

      This can be improved for memory queue by adding the ConcurrentLinkedQueue from Java since it has higher throughput.

      Needless to say, we should add some custom synchronized version of a queue, maybe through a factory class in the normal version.

        Attachments

        1. HAMA-568.patch
          3 kB
          Edward J. Yoon
        2. HAMA-568_2.patch
          11 kB
          Mayank Mishra
        3. HAMA-568_1.patch
          10 kB
          Mayank Mishra

          Issue Links

            Activity

              People

              • Assignee:
                udanax Edward J. Yoon
                Reporter:
                thomas.jungblut Thomas Jungblut
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: