blocking get call?
pc88mxer at gmail.com
Mon Jan 28 12:00:03 EST 2013
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
On Mon, Jan 28, 2013 at 10:50 AM, Alexander Sicular <siculars at gmail.com>wrote:
> No. but try something with a head request in your application.
> Sent from my rotary phone.
> On Jan 28, 2013 11:47 AM, "E R" <pc88mxer at 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
>> riak-users mailing list
>> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users