(re) Introducing Radish, it's a redis server completely inside a
@Cloudflare durable object.
this weekend I did an experiment to see how good GPT-6 Astra and Fable are now, at systems and database design by revamping Radish (one of my old projects). it was terrible back then lol because i knew nothing about dbs. now that i know a little bit, worth a try!
Not prod-ready (ofc) and it's also a magnitude less QPS than a single node redis server, BUT
It's ACID compliant. It uses durable object sqlite as the hot storage and r2 as the cold storage beyond the 10GB mark. fully serverless!
It's multi-tenant so you can run a redis server PER USER!
Workers and DOs don't have inbound TCP connections yet (it's in their roadmap), but until then, it uses a bun shim to connect to the worker
I verified it using formal methods, also ran it against 200k commands on real redis and made it byte-identical in terms of responses, performance etc.
There's some very interesting things in there too (automatic multi-tenant isolation, unbounded by RAM, fully durable)
There's only two dependencies,
@EffectTS_ and
@alchemy_run. that's it.
radish.dhr.wtf