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

namespacing proxy #6577

Closed
heyitsanthony opened this issue Oct 4, 2016 · 3 comments
Closed

namespacing proxy #6577

heyitsanthony opened this issue Oct 4, 2016 · 3 comments
Assignees
Milestone

Comments

@heyitsanthony
Copy link
Contributor

heyitsanthony commented Oct 4, 2016

If multiple applications wish to use etcd, they currently must prefix their data (e.g., "app1/...", "app2/"...) to avoid interfering with each others' data. This is not ideal since it puts a burden on the application to be prefix-aware.

A namespacing proxy exposes only a prefix of the etcd keyspace. With namespacing, applications can be pointed at a namespaced etcd instance for its prefix instead of having to worry about prefixing in the application logic. Likewise, it should help make implementing RPC services on top of etcd (e.g., #6285) somewhat tractable; user and service data would be separately namespaced to avoid key collision / namespace pollution but would still be served on the same base etcd instance.

@xiang90 xiang90 added this to the v3.2.0 milestone Oct 4, 2016
@vimalk78
Copy link
Contributor

if no one is working on this, may i take this up.

@dennwc
Copy link
Contributor

dennwc commented Mar 20, 2017

It would be great to have a prefix as an optional parameter for Client as well. Currently most of our code uses wrapper with this functionality.

If it makes sense, I can file a PR for this part.

@heyitsanthony
Copy link
Contributor Author

@dennwc the namespacing proxy code will be reusable enough to interact cleanly for the client-side case. It'll be ready in a few days.

@heyitsanthony heyitsanthony self-assigned this Mar 20, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 21, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 21, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 21, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 21, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 21, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 21, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 22, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 22, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 22, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 22, 2017
heyitsanthony pushed a commit to heyitsanthony/etcd that referenced this issue Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants