Skip to content
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. This repository contains unofficial port of Redis to Windows.
C Tcl C++ Objective-C Shell Ruby Other
Branch: develop
Clone or download

Latest commit

Latest commit b3e3249 Feb 10, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Created FUNDING.yml Dec 12, 2019
deps jemalloc now calls Redis' memory functions Jan 6, 2020
msvs Merge branch 'jemalloc-5.2.1' into develop Feb 9, 2020
src synced with antirez/redis 5.0.7 Feb 10, 2020
tests synced with antirez/redis 5.0.7 Feb 10, 2020
utils Update redis-cli help and the script to generate it. Nov 17, 2015
.gitignore enhanced ReleasePackagingTool Jan 26, 2020
00-RELEASENOTES synced with antirez/redis 5.0.7 Feb 10, 2020
BUGS Fix typo Sep 29, 2014
CONTRIBUTING synced with antirez/redis 5.0.7 Feb 10, 2020
COPYING update copyright year Apr 21, 2015
INSTALL INSTALL now redirects the user to README Feb 5, 2012
MANIFESTO synced with antirez/redis 5.0.7 Feb 10, 2020
Makefile Fix `install` target on OSX (see #495) May 15, 2012
README.md develop is at 5.0.7 Feb 10, 2020
RELEASENOTES.txt added release notes Jan 27, 2020
Redis on Windows Release Notes.md [Release] 3.2.100 Jul 1, 2016
Redis on Windows.md Windows port of antirez/3.2. Jun 14, 2016
Windows Service Documentation.md Windows port of antirez/3.2. Jun 14, 2016
appveyor.yml [Release] 3.2.100 Jul 1, 2016
license.txt added release notes Jan 27, 2020
redis.conf synced with antirez/redis/5.0.6 Oct 5, 2019
runtest synced with antirez/redis/5.0.6 Oct 5, 2019
runtest-cluster Redis Cluster test framework skeleton. Apr 24, 2014
runtest-sentinel Sentinel test files / directories layout improved. Apr 24, 2014
sentinel.conf synced with antirez/redis/5.0.6 Oct 5, 2019

README.md

Redis 5.0.x for Windows

Branch develop is still under development and at the moment provides an unstable version of Redis 5.0.7. See below for information on latest release from 4.0.x branch.

Redis 4.0.14 for Windows

You can find the release of Redis 4.0.14 for Windows on releases page. Please test it and report any issues, thanks in advance!

DISCLAIMER

At the moment win-4.0.14 branch provides a fairly stable port of Redis 4.0.14 for Windows x64 merged with archived port of win-3.2.100 version from MS Open Tech team. Since the latter is no longer maintained - the sources were merged by hand, projects updated to Visual Studio 2019 (v16.2.5) and any findings (mostly via unit tests) were fixed.

You can find the original description of what this fork provides, how it evolved, what are its requirements, etc. on Wiki: https://github.com/tporadowski/redis/wiki/Old-MSOpenTech-redis-README.md

Building from source code

In order to build this project from source code you need to have:

  1. Visual Studio 2019 (i.e. Community Edition, version 16.2.5) with "C/C++ features" enabled,
  2. Windows SDK 10,
  3. Git Bash for Windows or Cygwin with Git - after cloning this repository you need to run src/mkreleasehdr.sh script that creates src/release.h with some information taken from Git; optionally you can create that file by hand.

Dependencies

This project depends on jemalloc memory allocator, which is slightly customized in regard to calls to VirtualAlloc and VirtualFree WinAPI functions. They are being replaced with calls to AllocHeapBlock/PurgePages and FreeHeapBlock from src/Win32_Interop/Win32_QFork.cpp in order to keep track which memory regions are to be made available to child processes (for saving RDB/AOF).

Changes to jemalloc that provide those customizations are being maintained in tporadowski/jemalloc repository and are copied over to deps/jemalloc.

You can’t perform that action at this time.