You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by Sandesh Hegde <sa...@datatorrent.com> on 2016/07/08 01:53:35 UTC

[Proposal] Make the default Unifier ThreadLocal with the downstream operator

Hi All,

Unifier's are deployed as CONTAINER_LOCAL with the downstream operator(
except in the corner case of Mx1 ).  Default Unifiers are essentially doing
buffer to buffer copy, so instead it should be THREAD_LOCAL to improve the
performance.

Let me know your thoughts on this.

Thanks

Re: [Proposal] Make the default Unifier ThreadLocal with the downstream operator

Posted by Sandesh Hegde <sa...@datatorrent.com>.
Created a jira for this issue,
https://issues.apache.org/jira/browse/APEXCORE-482


On Thu, Jul 7, 2016 at 9:22 PM Amol Kekre <am...@datatorrent.com> wrote:

> +1. Makes sense. Do need to allow users to override if they want.
>
> Thks
> Amol
>
>
> On Thu, Jul 7, 2016 at 6:53 PM, Sandesh Hegde <sa...@datatorrent.com>
> wrote:
>
> > Hi All,
> >
> > Unifier's are deployed as CONTAINER_LOCAL with the downstream operator(
> > except in the corner case of Mx1 ).  Default Unifiers are essentially
> doing
> > buffer to buffer copy, so instead it should be THREAD_LOCAL to improve
> the
> > performance.
> >
> > Let me know your thoughts on this.
> >
> > Thanks
> >
>

Re: [Proposal] Make the default Unifier ThreadLocal with the downstream operator

Posted by Amol Kekre <am...@datatorrent.com>.
+1. Makes sense. Do need to allow users to override if they want.

Thks
Amol


On Thu, Jul 7, 2016 at 6:53 PM, Sandesh Hegde <sa...@datatorrent.com>
wrote:

> Hi All,
>
> Unifier's are deployed as CONTAINER_LOCAL with the downstream operator(
> except in the corner case of Mx1 ).  Default Unifiers are essentially doing
> buffer to buffer copy, so instead it should be THREAD_LOCAL to improve the
> performance.
>
> Let me know your thoughts on this.
>
> Thanks
>