Repository navigation
Use Proxy queue + Python queue for Python UDF flow control credits - #2206
Merged
Merged
Conversation
…urned credits when it sends data
This reverts commit 2ec18f5.
… for specific sender actors
… reflect long sizes
Yicong-Huang
force-pushed
the
yicong-pressure-from-python-queue
branch
from
November 6, 2023 19:13
5ca2a64 to
02d3e17
Compare
# Conflicts: # core/amber/src/main/python/core/runnables/network_receiver.py # core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/pythonworker/PythonProxyClient.scala # core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/pythonworker/PythonWorkflowWorker.scala
Yicong-Huang
requested review from
shengquan-ni
and removed request for
yunyad
November 16, 2023 00:35
# Conflicts: # core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/messaginglayer/FlowControl.scala # core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/messaginglayer/NetworkCommunicationActor.scala # core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/messaginglayer/NetworkInputPort.scala # core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/pythonworker/PythonWorkflowWorker.scala # core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/pythonworker/WorkerBatchInternalQueue.scala # core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/worker/WorkflowWorker.scala
Xiao-zhen-Liu
pushed a commit
that referenced
this pull request
Jan 16, 2024
…2206) This PR makes the Python flow control credits to be used by the flow control component. - The proxy side will keep track of credit from PVM's internal queue. - The flow control will use the credit from the Proxy's queue and credit from PVM's internal queue together as the credit of a Python Worker. - We calculate the data message sizes with library `pympler`. --------- Co-authored-by: yunyad <[email protected]>
yangzhang75
pushed a commit
to yangzhang75/texera
that referenced
this pull request
Jun 22, 2026
…pache#2206) This PR makes the Python flow control credits to be used by the flow control component. - The proxy side will keep track of credit from PVM's internal queue. - The flow control will use the credit from the Proxy's queue and credit from PVM's internal queue together as the credit of a Python Worker. - We calculate the data message sizes with library `pympler`. --------- Co-authored-by: yunyad <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR makes the Python flow control credits to be used by the flow control component.
pympler.