giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claudio Martella (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-504) Create PartitionContext
Date Fri, 08 Feb 2013 10:59:17 GMT

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

Claudio Martella commented on GIRAPH-504:
-----------------------------------------

Looks good to me.I was guessing if partition PartitionContext should export some of Partition,
maybe immutable state (e.g. partition metrics?).
                
> Create PartitionContext
> -----------------------
>
>                 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, 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

Mime
View raw message