Protocol Buffer Timeouts

Dan Reverri dan at
Fri Jul 30 14:11:43 EDT 2010

Hi Misha,

Where in riakc_pb_socket do you see a 5 second timeout? Are you using the
0.2.0 or the latest tip? There is an issue in 0.2.0 where map reduce
messages are not handled correctly which is fixed in the latest tip.


Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
dan at

On Fri, Jul 30, 2010 at 9:48 AM, Misha Gorodnitzky <misaka at> wrote:

> Hello all,
> We're doing some load testing using Riak erlang protocol buffers
> interface and are running into timeouts. From the looks of it, the
> timeouts are coming from the gen_server:calls in riakc_pb_socket.erl
> which don't specify a timeout, meaning that they timeout after 5
> seconds and we lose any reply that may come back from Riak (in our
> case, the request to Riak typically completes despite the timeout).
> What's the best way to handle these timeouts? We could just increase
> the timeout period in the calls, it seems odd to only give the Riak
> client code 5 seconds when Riak could potentially take longer to
> respond. Is this a bug?
> --Misha
> _______________________________________________
> riak-users mailing list
> riak-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list