Riak Client Resources, Deleting a Key Doesn't Remove it from bucket.keys

Mike Oxford moxford at gmail.com
Thu May 26 14:30:50 EDT 2011

On Thu, May 26, 2011 at 11:21 AM, Sean Cribbs <sean at basho.com> wrote:

> With all of this discussion it has been pointed out to me there are two
> issues at hand, possibly conflated as one:
> * Which is the least surprise, caching the key list or the incurring the
> large cost of the operation? Or is it that it is apparently performant in
> development (small numbers of keys) but not in production (large numbers of
> keys)?
> * How can we better discourage use of list-keys while still exposing to
> developers who can handle the performance hit (or enjoy holes in their
> feet)?
1)  I would rather be hit by a large cost that I can see and feel instead of
trying to run down hidden keys from a stale cache (reflect on chasing memory
2)  Make a riak-configuration value to enable or disable it.  You have to
explicitly go turn it on to use it.   It's more of an "if you turn this on,
you implicitly accept the penalties and issues surrounding actually using

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110526/d3a2e7ed/attachment.html>

More information about the riak-users mailing list