On Fri, Apr 6, 2012 at 11:00 AM, Michael Radford <m...@blorf.com> wrote: > Calling riak_kv_mrc_pipe directly from the console is just as slow as > using the pb interface.
Thank you for confirming that. Much appreciated. > it seemed to be encoding one PB message per search result and > spending quite a bit of time doing it > …snip… > So if there's an opportunity > for batching the search results, that seems like it would be a big > improvement as well. > > (It looks like that is currently up to whatever process is sending the > results in the first place. But maybe it would be a good idea for the > pb socket to accumulate M/R results until it reaches some threshold of > bytes to send...calling term_to_binary to estimate is pretty fast.) Indeed, you're correct here as well. I think there was a TODO about just this at some point, but it seems to have been lost in an issue-tracker shuffle. I've refiled it at https://github.com/basho/riak_kv/issues/312 Thanks, Bryan _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com