Project Icon

redis-windows

非官方Windows版Redis,多功能支持与性能优化

该非官方Windows Redis版本针对x64平台优化,引入多项新功能并提升性能。可作为Windows服务运行,适用于Server和桌面系统。集成默认配置和RedisJson支持,并提供全面的服务管理指导。使用前请注意潜在兼容性问题和相关免责声明。

This is an unofficial version of Redis for Windows X64

Warning:

it will be regarded as illegal use If you don't like(click star).

If you want to get latest version or [report any issues],please contact (michael_zkteco@126.com), thanks in advance!

It includes several new user-facing features, significant performance optimizations, and many other improvements. It also includes changes that potentially break backwards compatibility with older versions. We urge users to review the release notes carefully before upgrading.

In particular, users should be aware of the following changes:

  1. It stores AOF as multiple files in a folder; see Multi-Part AOF below. (automatically migrated an old-style AOF file (appendonly.aof) into the AOF directory (appendonlydir))

  2. It uses a new version 10 format for RDB files, which is incompatible with older versions.

  3. It converts ziplist encoded keys to listpacks on the fly when loading an older RDB format. Conversion applies to loading a file from disk or replicating from a Redis master and will slightly increase loading time.

Here is a comprehensive list of changes in this release compared to 6.2.6. https://github.com/redis/redis/releases/tag/7.0-rc1

If you want to know more, this is a list of selected starting points:

Redis 7.0 release Notes . https://github.com/redis/redis/releases/tag/7.0-rc1

Introduction to Redis data types. https://redis.io/topics/data-types-intro

Try Redis directly inside your browser. https://try.redis.io

The full list of Redis commands. https://redis.io/commands

There is much more inside the official Redis documentation. https://redis.io/documentation

DISCLAIMER

This release is based on Redis. It has passed all the standard tests.

Due to the many functional differences between windows and linux,There are still unknown issues/bugs, in particular there is a bug to work properly in certain scenarios. If you download and install it, you accept the following agreement by default:

NO LIABILITY FOR DAMAGES

In no event shall the author of this Software be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this product, even if the Author of this Software has been advised of the possibility of such damages.

Building from source code on Windows

  • Redis binaries are built with the original source Redis and have been compiled with Visual Studio 2022 to obtain higher performance and better stability than the binaries built by Cygwin, MSYS, or even WSL2.

  • Redis can be installed as a Windows Service.

Supported Windows Versions

  • Windows Server 2008/2012/2016/2019/2022 x64
  • Windows 7/10/11 x64

Default configrations

save ""
maxmemory 256mb
appendonly no
maxmemory-policy allkeys-lru
  • if you want to modify parameters,it is recommanded you edit the redis.conf file

Support latest RedisJson

edit redis.conf and add the following parameters:

enable-module-command yes
loadmodule rejson.dll

ReJson.dll download:
https://github.com/zkteco-home/RedisJson

Running Redis as a Service

  • Self elevation of the Redis executable so that service commands would work from a non-elevated command prompt.

  • Service naming so that multiple instances of the Redis service could be installed on one machine.

  • Automatically adjusting folder permissions so that when Redis is run under the NETWORK SERVICE account it could modify the files in the installation directory.

Run install_redis.cmd as Administrator (recommanded)

you also can use the following command and manage redis service:

Installing the Service

--service-install

This must be the first argument on the redis-server command line. Arguments after this are passed in the order they occur to Redis when the service is launched. The service will be configured as Autostart and will be launched as "NT AUTHORITY\NetworkService". Upon successful installation a success message will be displayed and Redis will exit.

This command does not start the service.

For instance:

redis-server --service-install redis.conf --loglevel verbose

Uninstalling the Service

--service-uninstall

This will remove the Redis service configuration information from the registry. Upon successful uninstallation a success message will be displayed and Redis will exit.

This does command not stop the service.

For instance:

redis-server --service-uninstall

Starting the Service

--service-start

This will start the Redis service. Upon successful start, a success message will be displayed and Redis will begin running.

For instance:

redis-server --service-start

Stopping the Service

--service-stop

This will stop the Redis service. Upon successful termination a success message will be displayed and Redis will exit.

For instance:

redis-server --service-stop

Naming the Service

--service-name name

This optional argument may be used with any of the preceding commands to set the name of the installed service. This argument should follow the service-install, service-start, service-stop or service-uninstall commands, and precede any arguments to be passed to Redis via the service-install command.

The following would install and start three separate instances of Redis as a service:

redis-server --service-install --service-name redisService1 redis.conf

redis-server --service-start --service-name redisService1

The following would stop and uninstall three separate instances of Redis as a service:

redis-server --service-stop --service-name redisService1

redis-server --service-uninstall --service-name redisService1

Sentinel for Redis Server on Windows

After you have edited and created the necessary configuration files,you must open the necessary firewall port. you can install Redis Sentinel from the command prompt as follows:

redis-server --service-install --service-name Sentinel sentinel.conf --sentinel

Contribute

项目侧边栏1项目侧边栏2
推荐项目
Project Cover

豆包MarsCode

豆包 MarsCode 是一款革命性的编程助手,通过AI技术提供代码补全、单测生成、代码解释和智能问答等功能,支持100+编程语言,与主流编辑器无缝集成,显著提升开发效率和代码质量。

Project Cover

AI写歌

Suno AI是一个革命性的AI音乐创作平台,能在短短30秒内帮助用户创作出一首完整的歌曲。无论是寻找创作灵感还是需要快速制作音乐,Suno AI都是音乐爱好者和专业人士的理想选择。

Project Cover

有言AI

有言平台提供一站式AIGC视频创作解决方案,通过智能技术简化视频制作流程。无论是企业宣传还是个人分享,有言都能帮助用户快速、轻松地制作出专业级别的视频内容。

Project Cover

Kimi

Kimi AI助手提供多语言对话支持,能够阅读和理解用户上传的文件内容,解析网页信息,并结合搜索结果为用户提供详尽的答案。无论是日常咨询还是专业问题,Kimi都能以友好、专业的方式提供帮助。

Project Cover

阿里绘蛙

绘蛙是阿里巴巴集团推出的革命性AI电商营销平台。利用尖端人工智能技术,为商家提供一键生成商品图和营销文案的服务,显著提升内容创作效率和营销效果。适用于淘宝、天猫等电商平台,让商品第一时间被种草。

Project Cover

吐司

探索Tensor.Art平台的独特AI模型,免费访问各种图像生成与AI训练工具,从Stable Diffusion等基础模型开始,轻松实现创新图像生成。体验前沿的AI技术,推动个人和企业的创新发展。

Project Cover

SubCat字幕猫

SubCat字幕猫APP是一款创新的视频播放器,它将改变您观看视频的方式!SubCat结合了先进的人工智能技术,为您提供即时视频字幕翻译,无论是本地视频还是网络流媒体,让您轻松享受各种语言的内容。

Project Cover

美间AI

美间AI创意设计平台,利用前沿AI技术,为设计师和营销人员提供一站式设计解决方案。从智能海报到3D效果图,再到文案生成,美间让创意设计更简单、更高效。

Project Cover

AIWritePaper论文写作

AIWritePaper论文写作是一站式AI论文写作辅助工具,简化了选题、文献检索至论文撰写的整个过程。通过简单设定,平台可快速生成高质量论文大纲和全文,配合图表、参考文献等一应俱全,同时提供开题报告和答辩PPT等增值服务,保障数据安全,有效提升写作效率和论文质量。

投诉举报邮箱: service@vectorlightyear.com
@2024 懂AI·鲁ICP备2024100362号-6·鲁公网安备37021002001498号