Loading links after a map phase in a map reduce query

Sean Cribbs sean at basho.com
Thu Oct 7 09:12:13 EDT 2010


300,000 links is probably too large (at least for HTTP).  At that scale, I would consider building tree-like structure where target objects are only linked off of the leaves of the tree.

Sean Cribbs <sean at basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On Oct 7, 2010, at 9:06 AM, Robin Edwards wrote:

> What is the hard limit on links, through the REST API?
> 
> Would it be possible to have an object with say 300,000 links?
> 
> Or is this a terrible idea,
> 
> R
> 
> On 7 October 2010 13:50, Jan Metzner <jan.metzner at gmail.com> wrote:
> Hi folks,
> 
> i am experimenting with riak and have a problem with too many links in a riak object.
> If i store the object the server send 400 Bad Request. This is caused from the link header which is too long.
> As workaround i thought about storing the links inside the riak object and fetch them in a map reduce query.
> Is it possible to do a link phase after a map phase in riak and if so has somebody an example for this?
> 
> Thanks and regards
> Jan
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101007/cd679498/attachment.html>


More information about the riak-users mailing list