Re: Speed of linkwalking

2011-08-30 Thread Mark Steele
A bit more digging has shed some light on the issue I'm seeing. I am using a custom built protocol buffer client, and it would appear that Riak is sending back more than 1 response for the map reduce job, which seems odd to me. The first response contains - The expected content payload - Ha

Re: Speed of linkwalking

2011-08-30 Thread Jonathan Langevin
Map/reduce is known to be slower than a standard fetch, so what you're experiencing is likely a direct result of m/r overhead. I would be interested in seeing if your test case shows a notable speed difference against the current official release of Riak (0.14.2 I believe). Based on what I've read

Re: Speed of linkwalking

2011-08-30 Thread Mark Steele
I'm actually testing with an object that has only one link as that's my use-case. In testing, 2 separate gets is way faster than using a map-reduce link-walk, which is disappointing :( I'm also testing on a one node cluster, and my bucket has a N/R/W=1. I was thinking that the reduction in networ

Re: Speed of linkwalking

2011-08-30 Thread Jonathan Langevin
Good catch Kev. Mark, If you run the same operation with map removed, what is the performance at that point?* Jonathan Langevin Systems Administrator Loom Inc. Wilmington, NC: (910) 241-0433 - jlange...@loomlearning.com - www.loomlearning.com - Skype: intel352 *

Re: Speed of linkwalking

2011-08-30 Thread Kev Burns
Mark, That's not just a link walk, you're also performing a map operation there. $client->add($bucketname, 'linkkey1')-> link()-> map(array("riak_kv_mapreduce", "map_object_value")) -> run(); If the expected number of returned objects is small, performing the map phase in PHP may be