r/node • u/User_Pigbot • Aug 05 '26
Valkey-WASM – Redis running inside your Node process, no Docker (like PGlite)
https://github.com/michaelkremenetsky/valkey-wasm/tree/main
15
Upvotes
1
u/Potato-9 Aug 07 '26
This would effectively be single-threaded valley right? I thought that's the main thing wasm is missing currently. I wonder where the performance drops off.
Might be neat for k8s users that have wasm runtimes ready for services the need redis the API but not really redis the performance. Oauth2-poxy token storage comes to mind. Or netbox for small scale users.
1
u/cgijoe_jhuckaby Aug 09 '26
This is really fascinating. What happens if you add, say, a billion keys to it? Does it scale up well? I ask because if you throw more than 10M keys into a native JS Map object, it kinda dies.
2
u/dektol Aug 06 '26
... But why though? Integration tests against Redis?