Servicestack. in the redis usage tutorial, we mentioned that it is best to deploy redis to Linux. Windows is only used for the development environment. Now this proposition has changed. redis in the production environment can also be deployed on Windows, thanks to Microsoft's openness, we have completed redis in the Windows environment. The latest version supports 64-bit. Redis's 32-bit storage capacity is limited by the available address space, that is, 3 GB. To run 64-bit redis on Windows, you canHttps://github.com/MSOpenTech/redisGet a copy of redisCodeAnd then use Visual Studio 2010 to open \ msvs \ redisserver. sln and compile it. Redis is written in C ++, So you install the C ++ compiler.
After compilation, go to msvs \ bin \ release
Copy it to the directory you want to install, and then copy \ msvs \ rediswainst \ samples \ redis. conf. For details, refer to http://redis.io/topics/config.
Start the service and you can see the heartbeat packet output every five seconds.
The server is running. Now we start another command line terminal to switch to the C: \ redis directory:
This indicates that redis is successfully running. Note that you can also go to the http://redistogo.com/to apply for a free redis instance for testing.
In the compiled directory, You can see another tool, rediswatcher, which is a Windows service used to start and monitor one or more redis instances, with this tool, redis can be run as a Windows service.
RunInstallwatcher. MSI,Installed onC: \ Program Files \ rediswatcher, ModifyWatcher. conf
Start the service
With powershell, you can findRediswatchersvcAlready installed
Signalr with redis running on a Windows azure Virtual Machine
How to deploy redis to Windows azure using the command line tool
I will continue to recruit people. You are welcome to submit your resume. For job information, see TEG06-IT Application Development Engineer (Shenzhen)