下载资源后端资源详情
Redis-windows.zip
大小:6.81MB
价格:30积分
下载量:0
评分:
5.0
上传者:zts1369
更新日期:2024-09-25

redis-server window版

资源文件列表(大概)

文件名
大小
Redis/
-
Redis/dump.rdb
1.85KB
Redis/EventLog.dll
1KB
Redis/Redis on Windows Release Notes.docx
12.22KB
Redis/Redis on Windows.docx
16.33KB
Redis/redis-benchmark.exe
399.5KB
Redis/redis-benchmark.pdb
4.17MB
Redis/redis-check-aof.exe
251KB
Redis/redis-check-aof.pdb
3.36MB
Redis/redis-cli.exe
488KB
Redis/redis-cli.pdb
4.32MB
Redis/redis-server.exe
1.59MB
Redis/redis-server.pdb
6.75MB
Redis/redis-setup.bat
2.91KB
Redis/redis-uninstall.bat
2.2KB
Redis/redis.windows-service.conf
47.08KB
Redis/redis.windows.conf
47.08KB
Redis/server_log.txt
22.3MB
Redis/Windows Service Documentation.docx
13.93KB

资源内容介绍

redis-server window版
<link href="/image.php?url=https://csdnimg.cn/release/download_crawler_static/css/base.min.css" rel="stylesheet"/><link href="/image.php?url=https://csdnimg.cn/release/download_crawler_static/css/fancy.min.css" rel="stylesheet"/><link href="/image.php?url=https://csdnimg.cn/release/download_crawler_static/89796021/raw.css" rel="stylesheet"/><div id="sidebar" style="display: none"><div id="outline"></div></div><div class="pf w0 h0" data-page-no="1" id="pf1"><div class="pc pc1 w0 h0"><img alt="" class="bi x0 y0 w1 h1" src="/image.php?url=https://csdnimg.cn/release/download_crawler_static/89796021/bg1.jpg"/><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">MSOpenTech’s Redis on Windows</div><div class="t m0 x1 h3 y2 ff2 fs1 fc1 sc0 ls0 ws0">We strive to have a stable, functionally equivalent and comparably performing version of Redis on </div><div class="t m0 x1 h3 y3 ff2 fs1 fc1 sc0 ls0 ws0">Windows. We have achieved performance nearly identical to the POSIX version running head-to-head </div><div class="t m0 x1 h3 y4 ff2 fs1 fc1 sc0 ls0 ws0">on identical hardware across the network. Aside from feature differences that help Redis take </div><div class="t m0 x1 h3 y5 ff2 fs1 fc1 sc0 ls0 ws0">advantage of the Windows infrastructure, our version of Redis should work in most situations with the </div><div class="t m0 x1 h3 y6 ff2 fs1 fc1 sc0 ls0 ws0">identical setup and configuration that one would use on a POSIX operating system.</div><div class="t m0 x1 h2 y7 ff1 fs0 fc0 sc0 ls0 ws0">How is Redis on Windows implemented?</div><div class="t m0 x1 h3 y8 ff2 fs1 fc1 sc0 ls0 ws0">Redis is a C code base that compiles under Visual Studio. Most of the code compiles with only minor </div><div class="t m0 x1 h3 y9 ff2 fs1 fc1 sc0 ls0 ws0">changes (due to syntactical differences between compilers and low-level API differences on Windows). </div><div class="t m0 x1 h3 ya ff2 fs1 fc1 sc0 ls0 ws0">There are a few areas where there are significant differences in how efficient Windows programs </div><div class="t m0 x1 h3 yb ff2 fs1 fc1 sc0 ls0 ws0">operate relative to POSIX programs. We have encapsulated most these differences in a platform specific </div><div class="t m0 x1 h3 yc ff2 fs1 fc1 sc0 ls0 ws0">library. The areas where there are significant differences are:</div><div class="t m0 x2 h3 yd ff2 fs1 fc1 sc0 ls0 ws0">•<span class="_ _0"> </span>Networking APIs </div><div class="t m0 x2 h3 ye ff2 fs1 fc1 sc0 ls0 ws0">•<span class="_ _0"> </span>POSIX File Descriptors</div><div class="t m0 x2 h3 yf ff2 fs1 fc1 sc0 ls0 ws0">•<span class="_ _0"> </span>POSIX fork()</div><div class="t m0 x2 h3 y10 ff2 fs1 fc1 sc0 ls0 ws0">•<span class="_ _0"> </span>Logging </div><div class="t m0 x2 h3 y11 ff2 fs1 fc1 sc0 ls0 ws0">•<span class="_ _0"> </span>Windows Services API</div><div class="t m0 x1 h4 y12 ff1 fs2 fc0 sc0 ls0 ws0">Networking Differences</div><div class="t m0 x1 h3 y13 ff2 fs1 fc1 sc0 ls0 ws0">The Windows networking stack is split between user mode code and kernel mode code. Transitions </div><div class="t m0 x1 h3 y14 ff2 fs1 fc1 sc0 ls0 ws0">between user and kernel mode are expensive operations. The POSIX networking APIs on Windows </div><div class="t m0 x1 h3 y15 ff2 fs1 fc1 sc0 ls0 ws0">utilize a programming model that incurs significant performance loss due to the kernel/user mode </div><div class="t m0 x1 h3 y16 ff2 fs1 fc1 sc0 ls0 ws0">transitions. Efficient Windows networking code instead uses the IO Completion Port model to reduce </div><div class="t m0 x1 h3 y17 ff2 fs1 fc1 sc0 ls0 ws0">the impact of this behavior. The APIs used and the programming model for IO Completion is different </div><div class="t m0 x1 h3 y18 ff2 fs1 fc1 sc0 ls0 ws0">enough that we were forced to implement a new networking layer in Redis.</div><div class="t m0 x1 h4 y19 ff1 fs2 fc0 sc0 ls0 ws0">File Descriptors</div><div class="t m0 x1 h3 y1a ff2 fs1 fc1 sc0 ls0 ws0">In a POSIX operating system, all data sources (files, pipes, sockets, mail slots, etc.) are referenced in code </div><div class="t m0 x1 h3 y1b ff2 fs1 fc1 sc0 ls0 ws0">with a handle called a file descriptor. These are low value integers that increment by one with each </div><div class="t m0 x1 h3 y1c ff2 fs1 fc1 sc0 ls0 ws0">successive file descriptor creation. All POSIX APIs that work with file descriptors will function without the </div><div class="t m0 x1 h3 y1d ff2 fs1 fc1 sc0 ls0 ws0">programmer having to know what kind of data source a file descriptor represents. On Windows, each </div><div class="t m0 x1 h3 y1e ff2 fs1 fc1 sc0 ls0 ws0">kind of data source has a separate kind of HANDLE. APIs that work with one HANDLE type will not work </div><div class="t m0 x1 h3 y1f ff2 fs1 fc1 sc0 ls0 ws0">with another kind of HANDLE. In order to make Redis operate with its assumptions about file descriptor </div><div class="t m0 x1 h3 y20 ff2 fs1 fc1 sc0 ls0 ws0">values and data source agnosticism, we implemented a Redis File Descriptor API layer.</div><div class="t m0 x1 h4 y21 ff1 fs2 fc0 sc0 ls0 ws0">fork()</div><div class="t m0 x1 h3 y22 ff2 fs1 fc1 sc0 ls0 ws0">The POSIX version of Redis uses the fork() API. There is no equivalent in Windows, and it is an </div><div class="t m0 x1 h3 y23 ff2 fs1 fc1 sc0 ls0 ws0">exceedingly difficult API to completely simulate. For most of the uses of fork() we have used Windows </div><div class="t m0 x1 h3 y24 ff2 fs1 fc1 sc0 ls0 ws0">specific programming idioms to bypass the need to use a fork()-like API. The one case where we could </div><div class="t m0 x1 h3 y25 ff2 fs1 fc1 sc0 ls0 ws0">not do so was with the point-in-time heap snapshot behavior that the Redis persistence model is based </div><div class="t m0 x1 h3 y26 ff2 fs1 fc1 sc0 ls0 ws0">on. We tried several different approaches to work around the need for a fork()-like API, but always ran </div><div class="t m0 x1 h3 y27 ff2 fs1 fc1 sc0 ls0 ws0">into significant performance penalties and stability issues. </div></div><div class="pi" data-data='{"ctm":[1.568627,0.000000,0.000000,1.568627,0.000000,0.000000]}'></div></div>

用户评论 (0)

发表评论

captcha

相关资源

chapter01.zip

chapter01.zip

117.24KB16积分

大学生活+学习规划+电脑操作与专业选择+新生全面成长指南

踏入大学,是人生的一次重要转折。这份为新生量身打造的指南,将带领你从初入校园的迷茫到自信满满地开启全新的学习与生活旅程。无论你对大学生活充满期待,还是对未来充满未知,这套资源都将是你成长路上的坚实依靠。从入学初期的必备常识到大学四年的全方位规划,从电脑操作的基础扫盲到专业领域的深度解析,我们为你准备了一切你可能需要的宝贵经验与实用技巧。资源涵盖学习方法、时间管理、电脑技能提升,以及适应新环境的社交建议,帮助你迅速找到属于自己的大学节奏。通过丰富的内容和详实的引导,你将掌握高效学习的秘诀,合理规划时间,全面提升自我。无论你是对学术规划有所困惑,还是对未来职业发展充满憧憬,这份资源都将为你提供从基础到深度的指导,让你从容应对大学生活中的每一次挑战。除此之外,丰富的应用推荐与操作指南也将助力你轻松驾驭现代科技,提升学习效率。大学,是一次崭新的起航,而这套资源,将成为你乘风破浪的导航灯,帮助你在人生的这片广阔海洋中,找到属于自己的方向。愿你在这段旅程中,不断突破自我,迎接崭新未来,成就属于你的辉煌篇章。让我们一起开启这段充满未知与希望的旅程,勇敢追梦,迎接属于你的精彩未来!

12.38MB27积分

Redis自动安装配置卸载的shell脚本

实战环境下服务器Redis从安装配置再到卸载的全流程sh脚本,已在Centos7和麒麟V10 x86测试压缩包包含三个sh脚本和redis-7.0.8.tar.gz离线安装包:1.redis_install.sh:安装脚本2.redis_config_default.sh:配置脚本3.redis_uninstall.sh:卸载脚本执行前请根据实际情况修改脚本中的变量,特别是卸载脚本请仔细核对Redis的安装目录再执行,避免误删

2.87MB10积分

语数外复习资料.zip

语数外复习资料.zip

4.63MB50积分