redis README

The project's README from github.com/tporadowski/redis. As one markdown file: README.md.

Redis for Windows

This is an unofficial native Windows port. It is a modified version of Redis Open Source. It is not affiliated with, endorsed by, or sponsored by Redis Ltd. Any use of Redis Ltd trademarks is subject to applicable law (trademark policy).

Two Windows lines live in this repository:

Line Branch / tag License Who it is for
Redis 8.10 for Windows win-8.10 (this tree). First GA tag (when cut): v8.10.0-win.1 RSALv2 / SSPLv1 / AGPLv3 (LICENSE.txt) Native 8.10: IOCP, QFork, Service, TLS, cluster, Sentinel
Redis 5.0.14.1 for Windows win-5.0 / v5.0.14.1 BSD-3-Clause Users who need the older BSD 5.0 port

win-4.0.14 is also preserved. Do not merge 8.10 into the BSD branches.

Notices: NOTICE. Port plan: WINDOWS_8.10_PORT_PLAN.md.

Redis 8.10 for Windows (win-8.10)

Native x64 binaries (no Cygwin). clang-cl + CMake + Ninja.

Build and run

scripts\build-win.ps1
build\redis-server.exe redis.windows.conf
build\redis-cli.exe PING

TLS is on by default (vcpkg OpenSSL 3). -NoTls builds a TCP-only server.

What this port is (and is not)

This tree starts from official Redis Open Source 8.10.0 and adds a Windows layer (Win32_Interop, IOCP, QFork). It is not the Redis Ltd product, not Redis Cloud, and not the official Linux Docker image.

Bundled Rust modules (Search / JSON / Time Series / Bloom) are out of scope. In-tree vector-sets compile into redis-server (INCLUDE_VEC_SETS).

Known gaps and the next work queue: WINDOWS_8.10_REMAINING.md (module API tests, top-level cluster / Sentinel / module suites, --tls and --large-memory).

Redis 5.0.14.1 for Windows (win-5.0)

Need BSD Redis 5 on Windows? Stay on win-5.0 / tag v5.0.14.1. That line is Visual Studio / MSBuild, still supported, and not replaced by this 8.10 tree. 8.10 → 5.0 data is not a supported downgrade; a 5.0 RDB can be loaded by 8.10.

Historical MSOpenTech 3.2 notes live on the 5.0/4.0 wiki and trees. They are not reproduced here.

What is Redis?

Redis is an in-memory data structure server (cache, session store, queues, streams, and more). Official documentation is at redis.io/docs. Command reference: redis.io/commands.

Redis Open Source 8.0+ is tri-licensed (RSALv2 / SSPLv1 / AGPLv3). Redis Ltd. also sells Redis Software and Redis Cloud — those are not this port.

Code contributions

PRs to tporadowski/redis on win-8.10 are contributions to this unofficial Windows port, not to Redis Ltd.

CONTRIBUTING.md in this tree is the upstream Redis Ltd Software Grant / CLA. It applies if you send a patch to Redis Ltd (redis/redis). It is not a CLA for tporadowski/redis Windows work.

Security reports for this port: open an issue on tporadowski/redis. Upstream security process is in SECURITY.md.

Redis trademarks

The purpose of a trademark is to identify the goods and services of a person or company without causing confusion. As the registered owner of its name and logo, Redis Ltd accepts certain limited uses of its trademarks, but it has requirements that must be followed as described in its Trademark Guidelines.

This project does not use Redis Ltd logos and does not claim Redis Ltd endorsement.

redis (tporadowski/redis)

Searching Database…

10.3K ·GitHub
What is this?This is an unofficial native port of Redis for Windows x64. Redis is an in-memory key-value database that persists on disk, and this project rebuilds it so it runs as a real Windows program.
Is it the actual Redis server, or some kind of wrapper?It is the actual Redis server ported natively. You get the usual key-value model with Strings, Lists, Sets, Sorted Sets, Hashes, Streams and HyperLogLogs, kept in memory and persisted to disk.
How do I install it on Windows?Download a prebuilt release from the releases page — Redis 5.0.14 or 4.0.14 for Windows x64, published there as MSI installers you can run directly.
Is this an official port from Microsoft or the Redis team?No — it is unofficial. It continues the archived win-3.2.100 port from MS Open Tech: the sources were merged by hand, projects updated to Visual Studio 2019, and findings (mostly via unit tests) were fixed.
Are there 32-bit builds too, or is it x64-only?The stable branches are Windows x64 ports — the published Redis 4.0.14 and 5.0.14 releases are built for x64.
How did the author get Redis, a C project, to run natively on Windows?Beyond updating the code to Visual Studio 2019 projects, the port ships a customized jemalloc allocator: Windows VirtualAlloc/VirtualFree calls are replaced with AllocHeapBlock/PurgePages and FreeHeapBlock helpers so the port can track which memory regions are made available to child processes when saving RDB/AOF files. Those jemalloc changes are maintained in their own repository and copied into deps/jemalloc.
Is it stable enough to rely on?Both the win-4.0.14 and win-5.0 branches are labeled stable ports, but the author still asks users to test the releases and report any issues, so treat it as a community-maintained port you should validate against your own workload.
What are similar projects?redis, dragonfly, dicedb, phpredis, valkey, kividb, etcd, redisson
Size
322.5 MB
Stars
10.3K
Age
9y
Commits · 90 Days