Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add watermark-based scheduling to the Ray Runner #15

Open
pabloem opened this issue Jun 8, 2022 · 3 comments
Open

Add watermark-based scheduling to the Ray Runner #15

pabloem opened this issue Jun 8, 2022 · 3 comments

Comments

@pabloem
Copy link
Collaborator

pabloem commented Jun 8, 2022

The Ray Runner currently works by topologically sorting the pipeline graph, and executing stage by stage until the whole pipeline has been executed. This means that it only supports batch mode, and it can't execute multiple stages in parallel.

By implementing watermark-based scheduling, and by executing any bundle that is ready for execution, we can start gaining parallelism, and move towards streaming support.

This work is somewhat involved, because it requires changing the whole execution logic for the pipeline, however it should increase our parallelism, which will be great (https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py#L420-L487)

@pabloem
Copy link
Collaborator Author

pabloem commented Jun 14, 2022

Useful literature: https://s.apache.org/beam-fn-api

@wilsonwang371
Copy link
Contributor

what is our plan to add watermark-based scheduling? any reference implementation that we need to discuss? for example: flink?

@rkenmi
Copy link
Member

rkenmi commented Jan 18, 2023

Hi @pabloem @iasoon , is this PR #24 associated to this issue? I might be interested in picking this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants