socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Valkey streams adapter

Open fjeldstad opened this issue 10 months ago • 2 comments

It seems Valkey is becoming a popular alternative to Redis. Are there any plans on providing an official Valkey adapter for Socket.io? Preferably based on streams, since that is more reliable and seems to be the recommended adapter when using Redis.

fjeldstad avatar Jan 23 '25 08:01 fjeldstad

Hi! The existing Redis Streams adapter can totally be used with Valkey: https://socket.io/docs/v4/redis-streams-adapter/

darrachequesne avatar Jan 28 '25 14:01 darrachequesne

Hi! The existing Redis Streams adapter can totally be used with Valkey: https://socket.io/docs/v4/redis-streams-adapter/

Now yes, but there is nothing that says the Redis and Valkey APIs won't diverge in future major versions 🤔

fjeldstad avatar Jan 28 '25 16:01 fjeldstad