You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "mengw15 (via GitHub)" <gi...@apache.org> on 2025/11/07 23:08:24 UTC
[D] slowness issue when sending data into Python-based operators [texera]
GitHub user mengw15 created a discussion: slowness issue when sending data into Python-based operators
#### summary
Seeing severe latency when data flows from an upstream operator into a Python-based operator. The compute inside Python is fast; the delays happen before and after it, suggesting a transmission/bridge issue.
#### Example workflow
Workflow A: CSV Scan → Sort (Python)
~3 minutes from workflow start until Sort begins processing
Sort compute itself < 1s
Then ~2 minutes before the workflow reports completion
Workflow B: CSV Scan → Aggregation (Java native)
End-to-end ≈ 20s
#### Hypothesis
Bottleneck in JVM ↔ Python handoff
GitHub link: https://github.com/apache/texera/discussions/4032
----
This is an automatically sent email for notifications@texera.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@texera.apache.org
Re: [D] slowness issue when sending data into Python-based operators [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
GitHub user Yicong-Huang added a comment to the discussion: slowness issue when sending data into Python-based operators
you can also enable DEBUG level log on python side, to see RPC level logs, it will give you more information about the underlying UDF layers such as network.
GitHub link: https://github.com/apache/texera/discussions/4032#discussioncomment-14944427
----
This is an automatically sent email for notifications@texera.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@texera.apache.org
Re: [D] slowness issue when sending data into Python-based operators [texera]
Posted by "chenlica (via GitHub)" <gi...@apache.org>.
GitHub user chenlica added a comment to the discussion: slowness issue when sending data into Python-based operators
@Yicong-Huang Did you similar issues in other Apache projects?
GitHub link: https://github.com/apache/texera/discussions/4032#discussioncomment-14908664
----
This is an automatically sent email for notifications@texera.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@texera.apache.org
Re: [D] slowness issue when sending data into Python-based operators [texera]
Posted by "chenlica (via GitHub)" <gi...@apache.org>.
GitHub user chenlica added a comment to the discussion: slowness issue when sending data into Python-based operators
@bobbai00 Do you have any new insights given your recent investigation?
GitHub link: https://github.com/apache/texera/discussions/4032#discussioncomment-15411470
----
This is an automatically sent email for notifications@texera.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@texera.apache.org
Re: [D] slowness issue when sending data into Python-based operators [texera]
Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
GitHub user Yicong-Huang edited a comment on the discussion: slowness issue when sending data into Python-based operators
the serialization is typically even slower in other projects. we are using arrow flight, which is supposed to be fast and almost state of art. Can we debug into what's exactly being slow (e.g., using profiler)?
GitHub link: https://github.com/apache/texera/discussions/4032#discussioncomment-14944410
----
This is an automatically sent email for notifications@texera.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@texera.apache.org
Re: [D] slowness issue when sending data into Python-based operators [texera]
Posted by "chenlica (via GitHub)" <gi...@apache.org>.
GitHub user chenlica edited a comment on the discussion: slowness issue when sending data into Python-based operators
@Yicong-Huang Did you see similar issues in other Apache projects?
GitHub link: https://github.com/apache/texera/discussions/4032#discussioncomment-14908664
----
This is an automatically sent email for notifications@texera.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@texera.apache.org