ioredis icon indicating copy to clipboard operation
ioredis copied to clipboard

Cloudflare Workers(serverless) TCP socket fastest and more predictable speed

Open bikevit2008 opened this issue 1 year ago • 4 comments

Hi there! I did today wrapper for ioredis for Workers Cloudflare by TCP socket connections to Upstash. I can share it if you wanna :) Donates are great but not required! TCP of course faster than HTTPS, and speed more stable.

image There is best result https://js0p9wtps1v4i86ukzxqb8k2vm1blr94vs7opqqicl252zfhu6.borderless.art/benchmark_all?count=2

bikevit2008 avatar Jul 30 '24 13:07 bikevit2008

Hi

Any repo and links still available ?

xlanex6 avatar Sep 25 '24 08:09 xlanex6

@bikevit2008 any document to follow to get there?

veeramarni avatar Dec 27 '24 09:12 veeramarni

where is the code ?

i18nsite avatar Jan 06 '25 04:01 i18nsite

Cloudflare Workers can connect to Redis using TCP with the Node.js compatibility layer enabled. This is the test repo: https://github.com/akazwz/workers-redis

akazwz avatar Jun 12 '25 10:06 akazwz