I should have added that I want to avoid busy waiting.

If the object doesn't exist, some other process will be working to populate
it, and I don't want to keep on polling the database to see if the other
process is done.

Moreover, the process that wants the result doesn't have a direct
connection to the process that will be creating the result, so I'm
wondering if I can use riak to facilitate them rendezvousing with each
other. (Imaging, for instance,  that the requesting process is a web
generated AJAX request, and the process creating the result is a backend
server process.)



On Mon, Jan 28, 2013 at 10:50 AM, Alexander Sicular <sicul...@gmail.com>wrote:

> No. but try something with a head request in your application.
>
> @siculars
> http://siculars.posterous.com
>
> Sent from my rotary phone.
> On Jan 28, 2013 11:47 AM, "E R" <pc88m...@gmail.com> wrote:
>
>> Does riak have a "blocking get" call?
>>
>> I'm thinking of something that works like this... if a GET call is made
>> for an object that doesn't exist, the call blocks until the object is
>> created.
>>
>>
>> _______________________________________________
>> 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

Reply via email to