Did some local testing and noticed that if, for example, 3 people are following a blog post and someone leaves a comment, there are 5 Mongo documents created:
- 1x Comment
- 1x Activity, for the user who commented
- 3x Notifications, for each user following this blog post
What happens if we had, again just for example, 15,000 users following a blog post...!
- Would that generate 15,002 Mongo documents each time a comment was posted?
- Would this slow down the time it takes to post each comment?
- Couldn't this quickly get out of hand, if you had a large number of blog posts that users were actively following and commenting on?
Version: AEM 6.2 with Communities FP1 & FP2
SRP Config: Mongo DB SRP (MSRP)