redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
MIT License
14.07k stars 1.19k forks source link

Cloudlfare workers tcp connector #1814

Open theetherGit opened 10 months ago

theetherGit commented 10 months ago

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

only-cliches commented 4 months ago

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

theetherGit commented 4 months ago

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