On Apr 11, 2016, at 6:44 AM, Joel W <joeljam...@gmail.com> wrote:
So would you create a channel per user? and followers of this user are added to that users channel so the followers get post syncing to their device?
On Apr 11, 2016, at 6:23 PM, Joel W <joeljam...@gmail.com> wrote:
Thanks Jens, this make sense for user A follows B and C. How would handle so you could see User A is followed by C and D? Would you need to have a relationship doc type, that defines the relationship between each user and this gets added to the channel of each user in the relationship?
Just wounding if you can provide any comments?
Thanks
Joel
On Apr 13, 2016, at 1:25 AM, Joel W <joeljam...@gmail.com> wrote:
Cool, so what you are saying is that each user would have 2 channels a 'Messages' channel and a 'Relationship' channel? In terms of scale there wouldn't be an issue if say you had 100k users which would mean 200k channels?
(I’m separating the two kinds of channels so that following someone doesn’t automatically show you who they’re following or being followed by.)
Did you mean to say that by following someone they don't automatically see your messages? If as you said the sync function is adding {“user”: “A”, follows: “B”} to both A and B's 'relationship' channel. Wouldn't they be able to see who followers them etc but if you only grant B access to A's 'message' channel, B would only see A's messages and A wouldn't see B's messages?
Cheers
Joel