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:
You can install Redis cache on Windows 10 using Windows Subsystem for Linux(a.k.a WSL2). WSL2 is a compatibility layer for running Linux binary executables natively on Windows 10 and Windows Server 2019.
start ms-windows-store: Then search for Ubuntu , or your preferred distribution of Linux, and download the latest version. Please note that the sudo command might or mightn't be required based on the user configuration of your system. Use the redis-cli command to test connectivity to the Redis database.
The folder looks like this: folder: C:\Program Files\Redis\conf - there is some template conf file. folder: C:\Program Files\Redis\data - empty. folder: C:\Program Files\Redis\logs - empty.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With