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

WIP: Cross join via batch broadcast #358

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

petrosagg
Copy link
Contributor

The main contribution of this PR is the AbomArc type which behaves like an Arc<T> but it's safe to be Abomonated. This allows one to arrange a collection and get back batches that are Send, Clone, and Abomonation which allow them to be sent to other workers locally or over the network.

I have provided an example that tries to use this mechanism to implement a cross-join by partitioning the arrangement among workers and then broadcast the new batches for joining. That implementation is currently incorrect because I ran out of steam, but it is enough to demonstrate how a Batch can be broadcasted to all workers and then combined with the worker-local arrangement state.

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant