socket.io-redis-adapter
socket.io-redis-adapter copied to clipboard
Adapter to enable broadcasting of events to multiple separate socket.io server nodes.
I am working on a redis adapter for the [socketio rust implementation](https://github.com/totodore/socketioxide). And I would like to respect the protocol implemented here (packet format, channel naming, etc, etc) in order...
[The comment](https://github.com/eora21/socket.io-redis-adapter/blob/main/lib/index.ts#L59) is as follows: ``` Whether to publish a response to the channel specific to the requesting node. - if true, the response will be published to `${key}-request#${nsp}#${uid}#` -...
update incorrect comment for publishOnSpecificResponseChannel. The details are in the existing issue: [#554](https://github.com/socketio/socket.io-redis-adapter/issues/554)
Hello all. I have a question of using psub in broadcast function. I see it used here `this.subClient.psubscribe(this.channel + "*");` My question is that why not make it to subscribe...
feat(adapter): support async parser in RedisAdapter - Updated RedisAdapter methods (onmessage, onresponse, broadcast, broadcastWithAck) to be async - Updated type signatures to return Promise where appropriate - Allows parser.encode/decode to...
Hello! We have made a patch on our server to reduce the number of opened pub/sub channels on Redis, without any apparent drawback. Currently, redis adapter creates both a "global"...