keerthanashanmugam / graphlabapi

Automatically exported from code.google.com/p/graphlabapi
1 stars 0 forks source link

GraphLab CGI #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
One way to make GraphLab easier to use from a wide range of programming 
languages and environments and to free users from having to understand the 
GraphLab type system would to be to build a CGI style interface.  Such an 
interface would be very similar to Hadoop streaming in that it would use 
Standard In/Out to communicate with a program.   The user program would then 
look something like.

Loop
1) Read a Line of text in the following format from std::in:
      Vertex Id \t Arbitrary_vertex_data_string \t 
            #in edges \t Repeated( srcId \t Arbitrary_edge_data_string \t)
            #out edges \t Repeated( destid \t Arbitrary_edge_data_string \t) \n
2) Do some processing
3) Write updated line in same format to std::out 

The graph would be in text files as lists of vertex data and a lists of vertex 
ids followed by edge data.

Original issue reported on code.google.com by Joseph.E.Gonzalez on 20 Jun 2011 at 2:08