1 Star 0 Fork 0

轻语天涯的风 / redis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

Redis on Windows prototype

What's new in this release

  • Important note: we have changed our branch names to make it clear which is the main branch, and the Redis version the branch is based on.
  • Now have x64 version as well as 32 bit versions.
  • For the 64 bit version, there is a limit of 2^32 objects in a structure, and a max length of 2^32 for any object
  • Version number now 2.4.11-pre1 to indicate prerelease and to enable changing
  • The code to write data over TCP has been improved. Replication under stress is now more reliable.
  • Fixes for a few reported issues.

From previous releases

  • Based on Redis 2.4.11
  • Removed dependency on the pthreads library
  • Improved the snapshotting (save on disk) algorithm. Implemented Copy-On-Write at the application level so snapshotting behavior is similar to the Linux version.
  • added a Windows service to start and monitor one of more Redis instances

=== Special thanks to Dušan Majkic (https://github.com/dmajkic, https://github.com/dmajkic/redis/) for his project on GitHub that gave us the opportunity to quickly learn some on the intricacies of Redis code. His project also helped us to build our prototype quickly.

Repo branches

  • 2.4: (formerly bksavecow) Copy On Write at the application level, now the default branch. Has lower latency than bksave.
  • 2.4_fgsave: (formerly 2.4) Saving is done in foreground
  • 2.4_bufsave: (formerly bksave) Background save where we write the data to buffers first, then save to disk on a background thread. It is much faster than saving directly to disk, but it uses more memory.

How to build Redis using Visual Studio

You can use the free Express Edition available at http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express.

Now 2.4 is the default branch.

  • Open the solution file msvs\redisserver.sln in Visual Studio 10, select platform (win32 or x64) and build.

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

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

For your convinience all binaries and the MSI for the Redis-Watcher service will be available in the msvs/bin/release|debug directories.

RedisWatcher

A Windows Service that can be used to start and monitor one or more Redis instances, the service monitors the processes and restart them if they stop.

You can find the project to build the service under the msvs\RedisWatcher directory. In the readme on the same location you will find the instructions on how to build and use the service.

RedisWAInst

An installer to deploy Redis to Windows Azure. Source and binaries are in msvs/RedisWAInst. See the README file there for details.

Release Notes

This is a pre-release version of the software. It has been undergone more testing than previous releases.

To run the Redis test suite requires some manual work:

  • The tests assume that the binaries are in the src folder, so you need to copy the binaries from the msvs folder to src.
  • 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. To execute the tests, run the following command: tclsh8.5.exe tests/test_helper.tcl.

If a Unix shell is not installed you may see the following error message: "couldn't execute "cat": no such file or directory".

Plan for the next release

  • Improve test coverage
  • Fix some performance issues on the Copy On Write code
Copyright (c) 2006-2009, Salvatore Sanfilippo All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Redis nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

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 展开 收起
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/huoye175/redis.git
git@gitee.com:huoye175/redis.git
huoye175
redis
redis
2.4

搜索帮助