socket.io-redis-streams-adapter
socket.io-redis-streams-adapter copied to clipboard
The Socket.IO adapter based on Redis Streams, allowing to broadcast events between several Socket.IO servers.
Socket.io has a concept of rooms for socket clients to join. The [Redis Adapter](https://github.com/socketio/socket.io-redis-adapter) has support for clustered room emitting and room fetching via the `allRooms()` function. This function allows...
I encountered an error "Error: timeout reached: only 0 responses received out of 1" while scaling up a high-traffic system with multiple nodes. My system run 2 same instances on...
I have tried to emit from a cronjob, but it's not reaching the client!
It would be helpful to implement MessagePack (Msgpack) encoding/decoding in Socket.IO streams. JSON stringify() has limitations with large or complex data, leading to performance issues and difficulties with certain data...
My team has a multi-server deployment, and we use the Redis Streams Adapter with Valkey (but have previously used and seen this issue on Redis as well) for our sockets...
Reproduces with this code: ```javascript import { Redis } from "ioredis"; import { Server } from "socket.io"; import { createAdapter } from "@socket.io/redis-streams-adapter"; const redisClient = new Redis(); const io...
I am using socket.io-redis-streams-adapter. Theoretically, when I connect to the same Redis-backed Socket.IO server from multiple Node processes, when I use io.sockets.adapter.sids.size to query the count, I find that the...