Re: auto-generating keys in riak

2010-04-26 Thread Matthew Heitzenroder
Alexander- Check out the function in riak_core:riak_core_util http://github.com/basho/riak/blob/master/apps/riak_core/src/riak_core_util.erl#L126 I think it's something like 2^42 at that moment in time (now() is

auto-generating keys in riak

2010-04-26 Thread Alexander Sicular
When doing a POST against a bucket without indicating a key, riak auto-generates a 27 characted mixedcase alphanum (with possibly + 2 other chars for radix(64) ) unique ID How does it do that? What's the seed? What guarantees of uniqueness are there? I take it even if there was a conflict ri