Skip to content

is it a good idea to have a separate channel for each user? #1042

Pinned Answered by uNetworkingAB
dhruv-nudge asked this question in Q&A
Discussion options

You must be logged in to vote

Yes it's the ideal case. The pub/sub feature is very lightweight. But if you plan to send huge messages, that would be (more of) a problem. Small messages like, a text message or some notification or anything less than 1 KB is ideal use. Anything above 16 KB is probably going to jam up the server unless you scale it very well.

For 1 KB any shitty consumer grade computer can handle a million connections.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@uNetworkingAB
Comment options

@dhruv-nudge
Comment options

@uNetworkingAB
Comment options

@uNetworkingAB
Comment options

@dhruv-nudge
Comment options

Answer selected by dhruv-nudge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants