ioredis
ioredis copied to clipboard
Cloudlfare workers tcp connector
As Cloudflare has added support for tcp sockets, we can have a cloudflare redis connector.
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
I agree, I love the way postgreg.js and node-postgres does this. But they had support from cloudflare team too.