Skip to content

Instantly share code, notes, and snippets.

@PharkMillups
Created September 13, 2010 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PharkMillups/578181 to your computer and use it in GitHub Desktop.
Save PharkMillups/578181 to your computer and use it in GitHub Desktop.
19:14 <outerim> Is there any practical limit to the number of prefixes one can use with riak?
19:14 <outerim> hornbeck: ^^
19:14 <benblack> prefixes?
19:15 <outerim> ie /prefix/bucket/key
19:16 <outerim> maybe I have been misinformed, I don't recall reading about prefixes in the docs now that I
think about it
19:16 <outerim> are all buckets below /riak
19:17 <benblack> they are below whatever you set as the root for riak, yes
19:17 <benblack> that defaults to riak
19:17 <outerim> benblack: gotcha, so a single root
19:18 <tinomen> I can't find anything in the docs about the prefix. Is it a hardcoded path
element or can you create prefixes similar to vhosts in rabbitmq
19:19 <outerim> tinomen: I believe it's a hardcoded prefix for all riak buckets now that I think
about it
19:19 <tinomen> ah, ok.
19:19 <benblack> it's not hard coded
19:19 <benblack> raw_name
19:19 <benblack> in app.config
19:33 <benblack> tinomen: the equivalent of a vhost in this model would be the bucket, really. a vhost
scopes exchanges as a bucket scopes keys.
19:35 <tinomen> I must be rusty in my rabbit. I had thought it was vhost(queue(exchange))) but what
you said sounds correct
19:37 <tinomen> I was hoping the prefix was offering a third hash level prefix(bucket(key)) where I
could set the prefix as a user scope
19:37 <benblack> riak does not have provision for multi-tenancy like that
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment