title: Creating Buddy list functionality with Pusher/Pubnub
body: <p>I'm considering moving from my own ejabberd servers (XMPP) to Pusher or Pubnub (Pusher preferably). And I was wondering what the best way to re-create the roster functionality using this technology is. </p>
  
  <p>Each user has a variable number of people to which's presence he is subscribed and with whom he can chat. </p>
  
  <p>I can think of two ways of doing that but I don't know which is the best. </p>
  
  <p>I can either subscribe to the presence of each user individually or put all users in one room and listen to all presence. </p>
  
  <p>However if the number of users reaches thousands I can imagine that it would not be a viable solution. </p>
  
  <p>What do you think ?</p>