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

Enforce table names are uniquely identifiable. #11

Open
mwhittaker opened this issue Feb 3, 2017 · 0 comments
Open

Enforce table names are uniquely identifiable. #11

mwhittaker opened this issue Feb 3, 2017 · 0 comments
Labels

Comments

@mwhittaker
Copy link
Collaborator

When a Fluent node writes into a channel, it expects the tuple to be sent to another Fluent node and placed in its channel. In order to know which channel the tuple should be placed in, each channel has to have a unique name. If all Fluent programs are running the same program, this can be checked at runtime when the program starts. If different Fluent programs are all communicating, then enforcing global uniqueness is probably impossible, but we can do something to make it harder to mess up.

See more discussion in #3 from @jhellerstein :

This may be something we metaprogram in Fluent. That is, we write a Fluent program deployer that deploys Fluent programs. deployed checks invariants like unique naming, etc.

Alternatively, deployer could assign namespaces (name prefixes) for each program to be deployed, and install shim operators on the program's output and input that prepend and strip (respectively) the namespace to the Collections.

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

No branches or pull requests

1 participant