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 <s...@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.metz...@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@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com