Rayman/fusic-meteor — pull request #58 by pepf (2014-07-12 20:29:47+00:00)
Title: Friends!

Note:
I had some huge problems creating a decent publish function getting just the users who are friends with a user, since it's impossible to get two cursors from the same collection (Meteor.users in this case). Therefore I resolved to "overpublishing", just running the query on all users. This is however not a decent solution if this system would ever scale to 1000's of users :wink: .
This all has to do with the "reactive joins" problem; there are packages that can resolve this, perhaps we should look for "the best package" that can fix this kind of problems.

list of packages:
https://hackpad.com/Meteor-reactive-publication-packages-MpSFfsZrMxa