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

Implement better message grouping to improve performance in SimpleTriangleClosingVertex

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: examples
    • Labels:
      None

      Description

      After running SimpleTriangleClosingVertex at scale I'm thinking the sendMessageToAllEdges() is pretty in the code, but its not a good idea in practice since each vertex V sends degree(V)^2 messages right in the first superset in this algorithm. Could do something with a combiner etc. but just grouping messages by hand at the application level by using IntArrayListWritable again does the trick fine.

      Probably should have just done it this way before, but sendMessageToAllEdges() looked so nice. Sigh. Changed unit tests to reflect this new approach, passes mvn verify and cluster, etc.

        Attachments

        1. GIRAPH-314-4.patch
          14 kB
          Eli Reisman
        2. GIRAPH-314-3.patch
          14 kB
          Eli Reisman
        3. GIRAPH-314-2.patch
          12 kB
          Eli Reisman
        4. GIRAPH-314-1.patch
          7 kB
          Eli Reisman

          Issue Links

            Activity

              People

              • Assignee:
                initialcontext Eli Reisman
                Reporter:
                initialcontext Eli Reisman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: