In PowerGraph what is the detail content/format of message transferred between computing machines?

User 84 | 12/25/2015, 6:12:52 PM

From the source code "vdataexchange.send(mirror, std::makepair(vid, vertex.data()));" I find that the message consists of two parts: target machine and vertex pair (vid, vertex_data). Could you give more detail about the content/format of a message transferred between computing machines? Thanks.

Comments

User 1592 | 12/29/2015, 5:52:11 AM

Hi you define the message on your own. It is either a struct, or a class with load/save methods that can serialize the message. See for example here: https://github.com/dato-code/PowerGraph/blob/4d48710427381e5c9590a91023ee00dd6ecda2f3/toolkits/graphanalytics/connectedcomponent.cpp#L55-L75