best way to introduce channels #574
Answered
by
e3dio
ditschedev
asked this question in
Q&A
-
As I read that topics are costly. Whats better to implement a „channel“ approach like pusher (e.g. a channel named ‘users/1/notifications’ or ‘tickets/345/watch’)?
I am currently using approach 1. |
Beta Was this translation helpful? Give feedback.
Answered by
e3dio
Jul 8, 2021
Replies: 1 comment 1 reply
-
Publish is best because iterating Sets can be slow, publish is most convenient and fastest, it will group messages by socket for you |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ditschedev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Publish is best because iterating Sets can be slow, publish is most convenient and fastest, it will group messages by socket for you