I\'m creating a web app/site in which my server will push real-time update to clients some info (using Pusher api).
So, the USERS that subscribe to a CHANNEL can rec
At the moment there is not way to send a message to a user other than to have a channel per user.
My current solution is: Each CHANNEL allows only one USER so the update targeted to the CHANNEL is for that one USER. Suppose I have 500 users then I need to have 500 channels. This requires setting up a lot of channels. Does that affect performance?
This sounds exactly like the solution you are using right now e.g. the channel - and user - can be uniquely identified by channel name:
Since channels are simply a routing mechanism there is no real overhead in having lots of channels; certainly 500 won't be any problem at all.
I'm assuming you are using private channels to ensure that only the allowed user can subscribe to their channel.