Hey,
What you suggest (a cache node) is an OK way of doing things. You could also
inline the cached values in the node itself.
Since managing relationships is atomic with respect to the cached counters,
there will never be inconsistencies.
Jim
___
I've got a little question about what is the fastest way to count
relationships of a node. For example,
ICE-CREAM
|
| LIKES
|
A -- KNOWS -- B
|
| KNOWS
|
C
If I count it by traversing it would be 2 KNOWSs and one LIKE. So, my
question is if I want to count every relationship that comes out of a
2 matches
Mail list logo