actually i asked the same question in a somewhat different manner a few
weeks ago... i.e. to replace relations through intermediate nodes
representing the relation to allow for inclusion of the time based
dimension.. the question was if there is experiemce out there doing this
for bigegr graphs .. since you add layer of complexity..

reg koen


2014-04-18 8:47 GMT+02:00 Aseem Kishore <[email protected]>:

> Example: users following other users.
>
> Is there any advantage/disadvantage to directly connecting users with
> relationships, vs. indirectly connecting them via nodes?
>
> E.g.
>
> (:User) -[:FOLLOWS]-> (:User)
>
> vs.
>
> (:User) <-[:SOURCE_USER]- (:Follow) -[:TARGET_USER]-> (:User)
>
> The node obviously lends more flexibility (e.g. others can "like" it, it
> can be placed in a linked list, etc.), but I'm wondering: are there any
> downsides to it? E.g. if I commonly want to fetch a user's followers, is
> the extra hop a significant performance drain? (I can test performance, but
> I guess I'm wondering if there are other factors I can't even think of.)
>
> Thanks!
>
> Aseem
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Groeten / Best Regards,

Koen

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to