Getting random objects filtered by a set of criteria

Dmitrii Dimandt dmitriid at
Sat Jan 9 11:01:56 EST 2010

I want to show the user a photo to vote for. This has to be a random photo from those he hasn't voted for yet.

In a prior conversation Kevin Smith suggested[1] I use M/R for such a task. Well, not only do I have to understand how to write such a M/R :) I also need to know whether  it's ok to run such a query on every page request.

[1] ,

More information about the riak-users mailing list