Hi,
I have a web app where users can follow one another. When one user publishes some action, I'd like that action to appear in the feeds of followers. A simple approach might be keeping a feed.xml file for each user, which is updated like:
UserA is followed by UserB, UserC.
UserA publishes some content.
Update UserB, UserC xml feeds, like:
// feed-UserB.xml
UserA flew a kite.
UserX blah blah blah.
....
// feed-UserC.xml
UserA flew a kite.
UserY blah blah blah.
....
this is like pubsub (I think). I don't need it to be realtime though. I'm not sure how the case of many followers is handled. If a user has 1 million followers, doesn't the hub have to sit there and notify all 1 million subscribers? If the hub is run on a single server, this could tie up the cpu for a long time, right?
Thanks