Hi Justin, Our current setup, is we are using webmachine; Client connects to webmachine, and webmachine connects to riak via the erlang pcb client. So, if we use links, and we want the client to be aware of the relationships, we would still have to translate the links into the http response from webmachine back to the client; or am I missing something?
Thanks, Bryan Nagle Liquid Analytics bryan.na...@liquidanalytics.com On Thu, Dec 30, 2010 at 6:47 PM, Justin Sheehy <jus...@basho.com> wrote: > Hi, Bryan. > > The link data is embedded in the riak_object metadata, so you can > easily observe it from outside Riak even when not performing > link-walking queries. > > To see this in action, check out the "Link" headers when using the > HTTP interface. > > -Justin > > > > On Thu, Dec 30, 2010 at 6:36 PM, Bryan Nagle > <bryan.na...@liquidanalytics.com> wrote: > > Hi, > > For the project that I am currently working on, we are trying to decide > on > > the best way to store relational data in riak. At first glance, the > obvious > > choice looks to be links, however one of our requirements is that this > > relationship information has to be sent to a client along with actual > data. > > The client has to be able to map the relationships between the > > data solely from the information it receives while being completely > outside > > of Riak. > > So, I was wondering if anyone had any suggestions? We are considering > > either encapsulating our relationship data within the riak store itself > (in > > the value tied to the key), or using riak links. However, if we use riak > > links, then we have to convert those links into data that the client can > > receive & understand when sending data, and then convert the data we get > > back from the client into riak links; we are wondering if this extra > step > > is worth implementing this kind of a translation. > > Bryan Nagle > > Liquid Analytics > > bryan.na...@liquidanalytics.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