iberezh
← All writing
· Redis

Looking for a Redis alternative

Have you ever looked for a Redis alternative? I did, and tested 3 of them against Redis on the same machine.

Only Valkey ran my BullMQ app without a single change.

What else I found: - Dragonfly used 19% less RAM and didn't spike when saving to disk (Redis took 0.9 GiB extra) - Garnet was 2x faster with pipelining, but has no Streams - 1 command at a time, all 4 were within 30%

How I'd pick: - Job queues: Valkey or Redis - 1 big cache, less RAM: Dragonfly - Fastest simple cache: Garnet - JSON and search: Redis 8

Use cases for each one are in the slides.

Discussion on LinkedIn

Next: An email regex that freezes a server →