ioredis icon indicating copy to clipboard operation
ioredis copied to clipboard

Cloudlfare workers tcp connector

Open theetherGit opened this issue 1 year ago • 2 comments

As Cloudflare has added support for tcp sockets, we can have a cloudflare redis connector.

theetherGit avatar Sep 11 '23 06:09 theetherGit

The library has other NodeJS dependencies like tls and net, you'd have to swap those out as well. Not as easy as just writing a new connector.

https://github.com/redis/ioredis/blob/main/lib/types.ts

only-cliches avatar Feb 15 '24 02:02 only-cliches

I agree, I love the way postgreg.js and node-postgres does this. But they had support from cloudflare team too.

theetherGit avatar Feb 15 '24 06:02 theetherGit