about master and mirror vertex.

15 views
Skip to first unread message

Dan Dong

unread,
Nov 22, 2013, 10:16:13 AM11/22/13
to graph...@googlegroups.com
Hi,
    I have two questions about the master and mirror vertex in a distributed graph:
1. Is it possible for a master vertex to get to know the num_in_edges and num_out_edges of anyone of its mirror vertex?
2. Is it possible for a master vertex( when its vertex data have changed) to select which set of its mirror vertex to be updated/synced? i.e, we might not want to update all its mirrors' vertex data.

  From the documentation and code I read, seems not possible but need confirmation from experts.

  Thanks in advance!

  Dan

Yucheng Low

unread,
Nov 23, 2013, 10:19:24 PM11/23/13
to graph...@googlegroups.com
Hi,

No to both. The master vertex knows the num-on and num-out of the vertex in general (summing across all mirrors), but it does not know the local degree of the individual mirrors. (it would be quite a lot of state to maintain)
We also do not at the moment have the ability to specify which mirrors to update, though it is probably not too difficult to implement it (See distributed_graph::synchronize to see how master-->mirror updates are implemented).

Yucheng

--
You received this message because you are subscribed to the Google Groups "GraphLab API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to graphlabapi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages