I am working on an use-case,in this
- There are users.
- There are tags.
- User shares posts(content) with other users. And each post is connected to multiple tags.
Thinking to create User,Tag and Post nodes.
When a post is shared:
- relationships are added between Post node and User nodes(with whom post is shared with, can be up to 20 users).
- a relationships is added between Post node and post creator.
- relationships are added between Post node and Tag nodes(can be up to 20 tags)
I think adding relationships this way helps to retrieve posts by user or by tags.
Posts are created very frequently.
My concern: I feel that this approach creates lot of data(post node and relationships with tags and other users) per post. Also, think that data will grow very fast as posts are shared and think that each post creation is an expensive operation.
Do you think this approach is fine or is there any better way?