Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-185

Improve concurrency of putMsg / putMsgList

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: graph
    • Labels:
      None

      Description

      Currently in putMsg / putMsgList, a synchronized closure is used to protect the whole transientInMessages when adding the new message. This lock prevents other concurrent calls to putMsg/putMsgList and increases the response time. We should use fine-grain locks to allow high concurrency in message communication.

        Attachments

        1. GIRAPH-185.patch
          3 kB
          Bo Wang
        2. GIRAPH-185.patch
          7 kB
          Bo Wang
        3. GIRAPH-185.patch
          5 kB
          Bo Wang

          Issue Links

            Activity

              People

              • Assignee:
                bowang Bo Wang
                Reporter:
                bowang Bo Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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