-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Comments
if no one is working on this, may i take this up. |
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. |
@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
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
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.
The text was updated successfully, but these errors were encountered: