State of Redis on Windows in 2019?

Viewed 6673

I need to configure Redis in HA mode (in cluster) using Redis Sentinel with two Windows Server 2016. Searching around, there is a lot of material on how to install Redis on Windows and none of them seemed.... right to me.

I got to this page which lists most of them in an organized way: https://github.com/ServiceStack/redis-windows

I basically have problem with all of them and would like to understand some things and maybe even get the recommended way to guide me:

  • Install Redis on Ubuntu on Windows
    • This seems... cheaty. Will it have good performance? Will I be able to configure a cluster this way (without much headache), having a Ubuntu VM running on the Windows?
  • Vagrant
    • Basically the same as above
  • Microsoft Native Port
    • This seems less cheaty but on the other hand is rather out-dated. The version available is for Redis 3.0 (the last version is 5.0). So I'm afraid I will be missing out a lot of good features and improvements.
2 Answers

If you are looking for a native port of Redis on Windows, I recommend www.Memurai.com It is on par with Redis 5.0.9 and has Windows EventLog integration.

I'm not clear why you think running the native version of Redis on Linux on Windows either on WSL or in a VM "seems cheaty"? It's the only way to run a supported and recent version of Redis on Windows. I'd be more comfortable running the supported and tested official version of Redis via WSL or VM than I would running an unsupported abandoned fork with known issues.

WSL has disk performance issues, but since Redis mostly runs in memory (except for disk persistence) it runs fine, WSL2 has been optimized for performance so it should run faster, especially disk performance.

But if you've found performance to be an issue you'd just run it on Linux, running Redis on Ubuntu is about the easiest thing you can run on Linux.

Related