Slackbot
08/30/2022, 11:08 PMwey
08/31/2022, 10:23 AMto find everyone who likes a particular store
• in intermediate node approach will be: start from store vid, expand via at_store reversely, expand via likes reversely
• in another approach will be: start from store vid, expand via sells, expand via likes reversely
The cost of the two are basically the same.
find which store's apples Angela likes
, the 2nd approach is cheaper as only one-hop traversal is needed, especially in NebulaGraph
find how many groceries that Angela likes at Walmart
, ditto
So I would suggest listing all query patterns your system cares first. :)Sandeep
09/05/2022, 10:23 PM