{"repo":"socketio/socket.io-redis-streams-adapter","free":true,"listed":false,"github":"https://github.com/socketio/socket.io-redis-streams-adapter","clone":"git clone https://github.com/socketio/socket.io-redis-streams-adapter.git","description":"The Socket.IO adapter based on Redis Streams, allowing to broadcast events between several Socket.IO servers.","language":"TypeScript","stars":42,"topics":["redis","socket-io","websocket"],"license":"MIT","category":"databases-storage","readme_excerpt":"Socket.IO Redis Streams adapter The @socket.io/redis-streams-adapter package allows broadcasting packets between multiple Socket.IO servers using: - Redis Streams: https://redis.io/docs/latest/develop/data-types/streams/ - Redis PUB/SUB for ephemeral communications: https://redis.io/docs/latest/develop/pubsub/ Table of contents - Supported features - Installation - Usage - With the redis package - With the redis package and a Redis cluster - With the ioredis package - With the ioredis package and a Redis cluster - Options - How it works - License Supported features Feature socket.io version Support --------------------------------- --------------------- ------------------------------------------------ Socket management 4.0.0 :white check mark: YES (since version 0.1.0 ) Inter-server communication 4.1.0 :white check mark: YES (since version 0.1.0 ) Broadcast with acknowledgements 4.5.0 :white check mark: YES (since version 0.1.0 ) Connection state recovery 4.6.0 :white check mark: YES (since version 0.1.0 ) Installation Usage With the redis package With the redis package and a Redis cluster With the ioredis package With the ioredis package and a Redis cluster Options Name Description Default value --------------------- ----------------------------------------------------------------------------------------------------------------------- ---------------- streamName The name of the Redis stream. socket.io streamCount The number of streams to use to scale horizontally. 1 channelP","default_branch":null,"files":null,"tree":[],"storefront":"/r/socketio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/socketio/socket.io-redis-streams-adapter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}