Bloomberg LP Interview Question
Financial Software Developerswhen each such user "update" is generated its given some unique id. this unique id will act as a link to retrieve "update" specific data like a video, user comments.
Thus if a "update" unique id is duplicated by multiple users (friends) then we can see it as "User1" and "user2" posted this.
I would consider it more like a mail box scenario(message queue) where each user has a list of update from his friends sorted(and merged) based on time.
Whenever a user is making a "update", its like he is posting a message to his friends.
i think they use the observer pattern.
- nittu August 21, 2010In this each user is a subject and also behave as a observer to all of his frnds .