Those are some ways, yes. Generally there are one or more keys that are "known" -- usernames, device identifiers, etc -- which then have references or in some other way inform the application about how to find other keys. This is why links and link-walking were some of the earliest available features of Riak.
Sean Cribbs <s...@basho.com> Developer Advocate Basho Technologies, Inc. http://basho.com/ On Jan 28, 2011, at 3:07 PM, Marcin Krol wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > I'm playing with riak to see what it's good for, so I need to ask: > > Sean Cribbs wrote: >> To understand why listing keys is difficult, you have to understand Riak's >> (and Dynamo's) original design motivations: >> >> * To be basically available at all times for reads and writes, which in turn >> means to be tolerant of machine and network failures. >> * To provide low-latency random access to large data sets. (Note I didn't >> say an entire data set.) >> * To scale linearly with minimal operational complexity. > > This begs the question: so how DO people know their keys, in practice? > Apart from trivial cases like including those keys in pregenerated HTML > pages, so when user clicks the link, riak is queried for that key? > > Do people generate their keys from some templates, like searching a > bucket "city-zip_code" would generate a range of keys like > "london_w2qsomething" to "london_somethingelse" ? > > This may look silly to you, but I'm trying to get to grips with idea how > riak is *actually used* in querying. > > > > - -- > > Regards, > mk > > - -- > Premature optimization is the root of all fun. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJNQyH/AAoJEFMgHzhQQ7hOqcoH/itq5jVuBr4ZCnDP06G2tae0 > nQMIarWOS8rIVqEB6vv99AKggoW9FGCBfR4uOjKzZIv5QgSGWcvvQlcP1hqj3kmD > SfKkLKxP7iEDK+w+D/tHlYTuuMkc0PBI2crWtKj6VB6/bPl7eP9SPJBr9Qh86M4l > 6KWbQpufkpAKvroJ0odos9qO6bozqM1afUaN0m7v183ghGhUl6TJZ21DDylahNx0 > MfOox0hl3vxJoUff+qsJiBas2XyD0hBm8vaFux8XhCFermXqgdLHmrHfawzPBpQi > JLwYTfq25Kj/xFhyDE4uXLRoH8BHGeRCVwpmTvnvGQyvhMoEz+959kE3WFW41yE= > =sjMV > -----END PGP SIGNATURE----- > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com