I am using neo4jphp for developing web application of forum where multiple users will comment on same topic and also can comment on comments(like nested comments).
So what is the best practice to store this data in neo4j?
I have thought of following options:
Create new node for each comment, sub comment and create relationships between topics and comments and sub comments
Create node for each topic, each comment and create relationship between them and add all comments as properties to same node of comment.
I think 1st option is better but I am worrying about the number of nodes to be created as number of topics and comments will increase.
Does neo4j performance, efficiency deteriorate as number of nodes increases?
Should we create separate node for each record/row in sql?
What is the best practice?