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

Parallelization: 'Reshuffle' data shared between stages #23

Open
pabloem opened this issue Jun 14, 2022 · 2 comments
Open

Parallelization: 'Reshuffle' data shared between stages #23

pabloem opened this issue Jun 14, 2022 · 2 comments
Assignees

Comments

@pabloem
Copy link
Collaborator

pabloem commented Jun 14, 2022

When a stage is executed (in ray_execute_bundle), its output can be immediately reshuffled so that its downstream processing can be parallelized.

When the upstream stage performs a write to GroupByKey, then we must group before reshuffling data (data belonging to the same key must be processed in the same worker).

If the upstream stage is not performing a GBK, then we can simply reshard everything without worrying about individual keys.

@pabloem
Copy link
Collaborator Author

pabloem commented Jun 14, 2022

@wilsonwang371 this is the task where we parallelize the processing of data : )

@wilsonwang371
Copy link
Contributor

Sounds good. I generally understand this. But regarding details, I will catch up with you guys by picking up and working on small tasks.

@jjyao jjyao self-assigned this Oct 12, 2022
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