Any Performance impact with running Redis on WSL2?

Is there any significant performance difference between running Redis on Linux vs running it on Windows Subsystem for Linux 2 (WSL2)?

Is there any benchmarks available for comparison?

We don’t have yet any available benchmark (WSL2 is not GA yet), but it’s my understanding that WSL2 provides significant improvements over WSL1 so you should expect the difference to be narrower.

That said, Redis is not tested on WSL and so I’d recommend to run it on the real thing for production deployments.

2 Likes

Thanks @LorisCro . Its for non production use. I will try it out.

Out of curiosity, why do you want to run on WSL instead of just running on Linux? Requirement?

Windows only application can make use of this. Otherwise need to have one of the application on a Virtual Machine or use a docker which i didn’t want to do.

Windows only application can make use of this.