2014-12-16 16:36:10 +01:00
2015-06-22 17:15:48 +02:00
2015-06-19 12:05:32 +02:00
2014-12-11 15:21:53 +01:00
2014-09-04 00:22:25 -07:00
2014-10-06 09:57:01 +02:00
2013-12-05 18:54:01 +01:00
2015-05-04 12:56:52 +02:00
…
…
…
2015-06-22 17:15:48 +02:00
2015-06-22 17:15:48 +02:00
…
2014-10-06 10:00:48 +02:00

Windows Status

NuGet version NuGet downloads

Chocolatey version Chocolatey downloads

Redis on Windows

Redis 2.8 Branch

  • This is a port for Windows based on Redis 2.8.
  • There is support for the 64-bit version. We have dropped official support for the 32-bit version, though you can build it from source if desired.
  • You can download the latest binaries (unsigned) from http://github.com/MSOpenTech/redis/releases. For releases prior to 2.8.17.1, the binaries can found in a zip file inside the source archive, under the bin/release folder.
  • Signed binaries can be downloaded using Nuget and Chocolatey.
  • There is a replacement for the UNIX fork() API that simulates the copy-on-write behavior using a memory mapped file.
  • Because Redis makes some assumptions about the values of File Descriptors, we have built a virtual file descriptor mapping layer.
  • Redis can be installed as a Windows Service.

Redis 2.8 release notes

Important: More documentation is available

Vital information about configuring and deploying Redis on Windows: https://raw.githubusercontent.com/janeasystems/redis-private/2.8/Redis%20on%20Windows.md https://raw.githubusercontent.com/janeasystems/redis-private/2.8/Windows%20Service%20Documentation.md

How to build Redis using Visual Studio

You can use the free Visual Studio Community edition available at http://www.visualstudio.com/products/visual-studio-community-vs.

  • Open the solution file msvs\redisserver.sln in Visual Studio, select a build configuration (Debug or Release) and target (Win32 or x64) then build.

    This should create the following executables in the msvs$(Target)$(Configuration) folder:

    • redis-server.exe
    • redis-benchmark.exe
    • redis-cli.exe
    • redis-check-dump.exe
    • redis-check-aof.exe

Unit Testing

To run the Redis test suite requires some manual work:

  • The tests assume that the binaries are in the src folder. Use mklink to create a symbolic link to the files in the msvs\x64\Debug|Release folders. You will need symbolic links for src\redis-server, src\redis-benchmark, src\redis-check-aof, src\redis-check-dump, src\redis-cli, and src\redis-sentinel.
  • The tests make use of TCL. This must be installed separately.
  • To run the tests you need to have a Unix shell on your machine, or MinGW tools in your path. To execute the tests, run the following command: "tclsh8.5.exe tests/test_helper.tcl --clients N", where N is the number of parallel clients . If a Unix shell is not installed you may see the following error message: "couldn't execute "cat": no such file or directory".
  • By default the test suite launches 16 parallel tests. I will get time out errors on an iCore 7-2620m@2.7Ghz with some of the tests when the number of clients is greater than 6.
S
Description
Native port of Redis for Windows. Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs. This repository contains unofficial port of Redis to Windows. 适用于 Windows 的 Redis 原生端口。Redis 是一种内存数据库,可持久化存储到磁盘。其数据模型为键值对,但支持多种不同类型的值:字符串、列表、集合、有序集合、哈希表、流、超日志。此存储库包含 Redis 的非官方 Windows 端口。
https://github.com/tporadowski/redis.git
Readme
192 MiB
2025-07-07 10:46:02 +08:00
Languages
C 80.3%
Tcl 14%
C++ 4.4%
Shell 0.3%
Ruby 0.3%
Other 0.5%