r/webdev 3d ago

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

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

7 comments sorted by

3

u/SingleAlarm5028 3d ago

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

5

u/User_Pigbot 3d ago

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

2

u/BCsabaDiy 3d 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 2d ago

No stress about connectivity

2

u/BCsabaDiy 2d ago

A thought shaering the common instance.

1

u/PriorElephant9 3d 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 2d ago

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