Skip to main content

Redis Streams adapter

· One min read
Damien Arrachequesne

Hello everyone!

There is a new official adapter for Socket.IO: the Redis Streams adapter.

note

An Adapter is a server-side component which is responsible for forwarding packets within a cluster of Socket.IO servers.

More information here.

The adapter will use a Redis stream to forward packets between the Socket.IO servers.

The main difference with the existing Redis adapter (which use the Redis Pub/Sub mechanism) is that this adapter will properly handle any temporary disconnection to the Redis server and resume the stream without losing any packets.

See also:

If you have any feedback, feel free to open an issue in the repository.