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