Install redis in Windows and redis in Windows

Source: Internet
Author: User
Tags install redis

Install redis in Windows and redis in Windows

The following is a reference to the definition of apsaradb for redis:

Redis is a key-value storage system. Similar to Memcached, Memcached supports more storage value types, including string, list, set, and zset) and hash (hash type ). These data types support push/pop, add/remove, Intersection Set and difference set, and more abundant operations, and these operations are atomic. On this basis, redis supports sorting in different ways. Like memcached, data is cached in the memory to ensure efficiency. The difference is that redis periodically writes the updated data to the disk or writes the modification operation to the append record file, and on this basis implements master-slave (master-slave) synchronization. Redis is a high-performance key-value database. The emergence of redis largely compensates for the shortage of key/value storage such as memcached, and can play a good complementary role in relational databases in some cases. It provides clients such as Java, C/C ++, C #, PHP, JavaScript, Perl, Object-C, Python, Ruby, and Erlang for ease of use. [1] Redis supports master-slave synchronization. Data can be synchronized from the master server to any number of slave servers. The slave server can be the master server associated with other slave servers. This allows Redis to perform single-layer tree replication. You can intentionally or unintentionally write data to a disk. Because the publishing/subscription mechanism is fully implemented, you can subscribe to a channel and receive the complete message publishing records of the master server when synchronizing the tree from the database anywhere. Synchronization is helpful for the scalability and data redundancy of read operations. The official redis website address is redis. io. (I checked it out specially. The domain name suffix I/O belongs to the national domain name, which is the british Indian Ocean territory, that is, the british Indian Ocean territory.) download it to the redis Official Website: Submit:
If your computer is 64-bit, you can click the Download button in the lower right corner. My computer is 32-bit, so I select the 2.6 installation package (you can select the version in the upper left corner ), the 2.6 installation package supports both 32-bit and 64-bit packages. After downloading the package, decompress the package and go to the bin/release directory to see the following two compressed files, this is why the 2.6 installation package supports both 32-bit and 64-bit: A non-64-bit compressed package is a 32 file, decompress the non-64-bit compressed package and there are 5 exe files, as shown below:
Directly double-click redis-server.exe to run the redis server. The successful startup page is as follows:
In this case, we start the client to test the vulnerability and double-click redis-cli.exe to perform the following test operations on the client:
If the above results are displayed, it indicates that there is no problem during installation.
Note: 1. Because no configuration is made for our installation, redis runs according to the default configuration. 2. in the development or production environment, it is best to say that redis is installed on a Linux server. The specific reasons are as follows:


Redis official online learning: http://try.redis.io/redisdesign and implementation (first version): http://redisbook.readthedocs.org/en/latest/index.htmlredisdesign and implementation (second version trial): http://redisbook.com/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.