Uploaded image for project: 'Apache Apex Core'
  1. Apache Apex Core
  2. APEXCORE-482

Default Unifiers should be ThreadLocal with downstream operators

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Default Unifiers are currently deployed ( except in Mx1 ) as CONTAINER_LOCAL with the downstream operator. It is better to make it THREAD_LOCAL to improve the performance.

      Custom unifiers can still be CONTAINER_LOCAL and possibly allow the users to control the behaviours.

      Note: Created a prototype to understand the root cause : https://github.com/sandeshh/apex-core/commit/550f31c770b704360c813924e85a9fffeaec7c53
      During PhysicalPlan creation downstream operator's input port won't have stream locality assigned. So StreamingContainerAgent assigns CONTAINER_LOCAL

      Actual implementation should be done in Physical Plan.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sandesh Sandesh Hegde
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: