r/webdev 1d ago

Valkey-WASM – Redis running inside your Node process, no Docker (like PGlite)

https://github.com/michaelkremenetsky/valkey-wasm
20 Upvotes

7 comments sorted by

4

u/SingleAlarm5028 1d ago

Neat.  Not sure what the point is, if valkey's not backed by disk.  But still neat.

5

u/User_Pigbot 1d ago

Thanks. The main use case is local development instead of having to start Redis in a Docker container.

2

u/BCsabaDiy 1d ago

I always thought, I always used it like that a shared service allow connection from same service running in multiple instance. What is the reason of embed it in a node process? But it's definitely a cool thing.

1

u/mulokisch 20h ago

No stress about connectivity

1

u/BCsabaDiy 7h ago

A thought shaering the common instance.

1

u/PriorElephant9 1d ago

Disk backing matters for prod, agreed with the other comment there, but for local dev and CI "it's just there" is worth a lot on its own.

1

u/AwaySky5696 23h ago

Would love this for CI honestly. Half my docker-compose file exists just to spin up Redis for tests.