crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Wills (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CRUNCH-269) Allow clients to disable deep copies on intermediate DoFn outputs
Date Sat, 21 Sep 2013 20:00:52 GMT

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

Josh Wills commented on CRUNCH-269:
-----------------------------------

I think it's most noticeable on pipelines w/large objects. My estimate is that it's around
a 10% runtime hit, but I wanted to put the patch together to test that out. 10% isn't too
terrible, and it's nice to not have to think about the object copying stuff, so I'm okay leaving
it off by default.
                
> Allow clients to disable deep copies on intermediate DoFn outputs
> -----------------------------------------------------------------
>
>                 Key: CRUNCH-269
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-269
>             Project: Crunch
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>         Attachments: CRUNCH-269.patch
>
>
> I have a pipeline that operates on some large objects, and the additional overhead of
creating a deep copy of them on intermediate outputs (i.e., DoFns w/more than one child operation)
when I know that all of their consumers are going to be read-only is slowing down my runtime
quite a bit. I'd like to have an option that would allow me to disable intermediate deep copies
on a DoFn-by-DoFn basis and/or across an entire pipeline run when I know that it's safe to
do.

--
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