For eg: client.event.subscribe('channel1', eventCallback) client.event.emit('channel1', 'hello how are you?')
How scalable is that? can it support thousands of channels without any hiccups on a single medium digital ocean instance?
https://deepstream.io/info/performance/four-billion-messages...
For your chat though you need to consider whether your messages will be persistent and mutable (changeable after they've been posted) or are just one-off messages. In the first case using a list (https://deepstream.io/tutorials/core/datasync-lists/) with references to records (https://deepstream.io/tutorials/core/datasync-records/) is the way to go, in the second case pub/sub (https://deepstream.io/tutorials/core/pubsub-events/) might be better