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

Attribute Distribution #81

Open
comnik opened this issue Jul 25, 2019 · 0 comments
Open

Attribute Distribution #81

comnik opened this issue Jul 25, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@comnik
Copy link
Owner

comnik commented Jul 25, 2019

Some relations (such as Datomic's :db/ident, or relations carrying metadata) are comparatively small but can induce massive skew, especially once reverse indices are involved. This can lead to straggling workers and lots of exchange data.

It might therefore be useful to introduce a new dimension of attribute configuration

Distribution := Sharded | Shuffled | Broadcasted

that would allow us to configure small, critical relations as Broadcasted, while keeping their would-be-skewed join partners entirely local, or shuffled randomly across workers.

The query engine might then need to enforce some new rules for what types of distribution are allowed to go together in a join.

@comnik comnik added the enhancement New feature or request label Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant