You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Liannet Reyes <li...@gmail.com> on 2014/04/07 18:38:53 UTC

voteToHalt vs removeVertexRequest

Hi,

Because of my algorithm I am able to detect when a vertex won't be used
anymore, what would be more accurate : voteToHalt or removeVertex.

I imagine that removing the vertexes I can free some memory and although it
have some cost in execution time that is not a big deal as the graph is
smaller each time. Am I right?

Regards,

Liannet

Re: voteToHalt vs removeVertexRequest

Posted by Avery Ching <ac...@apache.org>.
Pretty much.  But when you remove the vertex, you won't be able to dump 
its output (not that all applications need to).

Avery

On 4/7/14, 9:38 AM, Liannet Reyes wrote:
> Hi,
>
> Because of my algorithm I am able to detect when a vertex won't be 
> used anymore, what would be more accurate : voteToHalt or removeVertex.
>
> I imagine that removing the vertexes I can free some memory and 
> although it have some cost in execution time that is not a big deal as 
> the graph is smaller each time. Am I right?
>
> Regards,
>
> Liannet
>
>