You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Maja Kabiljo (JIRA)" <ji...@apache.org> on 2013/02/06 04:53:13 UTC
[jira] [Commented] (GIRAPH-504) Create ComputeContext
[ https://issues.apache.org/jira/browse/GIRAPH-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572116#comment-13572116 ]
Maja Kabiljo commented on GIRAPH-504:
-------------------------------------
Also I think that removing access to WorkerContext from vertex.compute would be a good thing, since that's not safe, but want to hear what you guys think about it before making the change.
> Create ComputeContext
> ---------------------
>
> Key: GIRAPH-504
> URL: https://issues.apache.org/jira/browse/GIRAPH-504
> Project: Giraph
> Issue Type: New Feature
> Reporter: Maja Kabiljo
> Assignee: Maja Kabiljo
> Attachments: GIRAPH-504.diff
>
>
> Right now we have WorkerContext which is accessible from vertex.compute, but it's not thread safe - usually if we want to use it with multithreaded computation we have to use synchronization. Instead we can create a ComputeContext, which is going to have one instance per compute thread.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira