hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-946) Graph package code optimization for improve performance
Date Wed, 08 Apr 2015 11:41:12 GMT

    [ https://issues.apache.org/jira/browse/HAMA-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14485130#comment-14485130
] 

Edward J. Yoon commented on HAMA-946:
-------------------------------------

{code}
  public void sendMessage(V destinationVertexID, M msg) throws IOException {
    int partition = getPartitioner().getPartition(destinationVertexID, msg,
        runner.getPeer().getNumPeers());
    String destPeer = runner.getPeer().getAllPeerNames()[partition];
    runner.getPeer().send(destPeer,
        new GraphJobMessage(destinationVertexID, msg));
  }
{code}

1) In here, we may want to cache a set of vertexID and hostname pairs.

> Graph package code optimization for improve performance
> -------------------------------------------------------
>
>                 Key: HAMA-946
>                 URL: https://issues.apache.org/jira/browse/HAMA-946
>             Project: Hama
>          Issue Type: Improvement
>          Components: graph
>    Affects Versions: 0.6.4
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.7.0
>
>
> This is an umbrella issue for improve performance of graph package.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message