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

Claudio Martella commented on GIRAPH-78:
----------------------------------------

Yes, very nice, but how would you implement this? A caching Factory or you 
really want 100% re-use? That would require a per-worker index of Is.
                
> Be smarter about multiple instances of the same vertex
> ------------------------------------------------------
>
>                 Key: GIRAPH-78
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-78
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Jakob Homan
>
> In a graph such as 
> {noformat}a -> b, z
> b -> c, z
> c -> a, z
> ...
> z{noformat}
> where vertices a,b,c and are hosted on one worker and z is hosted on another, 
> it would be good to cache instances of z so a,b,c all point at the same 
> instance, rather than generating multiple copies of the same remote vertex 
> during vertex reading.  This is less important with primitive types and the 
> recent work done there, but very useful for more complex types.  Since the 
> vertex readers are in userland, it would be good to provide these facilities 
> as a library implementing users can access. ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to