links vs 2i

2012-09-20 Thread Timo Gatsonides
Hello, I have a question regarding the use of 2i. I've read some of the benefits (like less writes when inserting data) of using 2i instead of links when modeling data and it seems this is the preferred option nowadays when using Ripple (Ruby). I now have some data that keeps links (and links

Re: links vs 2i

2012-09-21 Thread Christian Dahlqvist
Hello Timo, I recently played around with using secondary indexes instead of links, and since I did not find any mapreduce functions that allowed me to follow 21 "links", I wrote a couple myself. These are available on my GitHub accountand I also

Re: links vs 2i

2012-09-21 Thread Jeremiah Peschka
Another consideration of links is that links will be returned in the HTTP headers. If you have too many links, then you can blow away the max size limits on an HTTP header and bad things will happen. There's MR functionality to link walk[1], but link walking may or may not be quick depending on

Re: links vs 2i

2012-09-21 Thread Mark Phillips
Hi Christian On Fri, Sep 21, 2012 at 2:46 AM, Christian Dahlqvist wrote: > Hello Timo, > > I recently played around with using secondary indexes instead of links, and > since I did not find any mapreduce functions that allowed me to follow 21 > "links", I wrote a couple myself. These are availabl