Visualization application of Redis in Win7

Source: Internet
Author: User
Tags memcached win32 install redis

Redis is a key-value storage system. Like memcached, it supports a relatively greater number of stored value types, including string (string), list (linked list), set (set), Zset (sorted set-ordered set), and hash (hash type). These data types support Push/pop, Add/remove and intersection-set and differential sets and richer operations, and these operations are atomic. On this basis, Redis supports a variety of different ways of ordering. As with memcached, data is cached in memory to ensure efficiency. The difference is that Redis periodically writes the updated data to the disk or writes the modification operation to the appended record file, and on this basis, it realizes the Master-slave (master-slave) synchronization.

With Memcache experience, and then to install Redis is very easy, basically the idea and operation are very similar, to memcache interested friends, can go to see me: Memcache visual configuration on the Win7 and NET application

To get to the bottom of this, install Redis on our windows. Steps

1. Download and install Redis service.

2. Call execution file Create server and test cache.

3, the use of Visual Tools Redis-desktop-manager Management query cache.

1. Download and install Redis service.

Download Address: Https://github.com/dmajkic/redis/downloads

Choose the appropriate installation package download, I choose win7 x64 select "Redis-2.4.5-win32-win64.zip" Extract files \redis-2.4.5-win32-win64.zip\64bit\ files to "D:\Redis\ redis-2.4.5 ", as shown in figure:

Start Redis
cmd command to enter Redis directory, open service (note plus redis.conf)

D: & CD D:\Redis\redis-2.4.5
redis-server.exe redis.conf

The Redis service shuts down automatically when the window is turned on and off. 2. Call execution file Create server and test cache.

Reopen a command line window, enter the Redis directory, create the server, and set the string cache "Key01" equals "Hello world~", as follows (note: Modify your own IP and port number).

D: & CD D:\Redis\redis-2.4.5

Redis-cli.exe-h 192.168.20.135-p 6379
Set Key01 ' Hello world~ '

Get Key01

Get key01 for Hello world~ for success, as shown in figure:

3, the use of Visual Tools Redis-desktop-manager Management query cache.

Redis Visual Management Tools There are many, share an article you can manually go to try, several open source graphical Redis client management software recommended

After a personal attempt, the feeling is still redis-desktop-manager more easy to use, download address: http://redisdesktop.com/download

Click on the Windows platform "redis-desktop-manager-0.8.0.3841.exe" Download installation, after the installation is completed, configure server information, ip+ port number, configuration completed, open the Admin page can see, just we test the cache key01, As shown in figure:

To this Redis installation setup is complete, you can use Redis to carry out the development of each project ~


Author: Xian. Wang Lei
Source: http://stone_w.cnblogs.com/
This article copyright to the author and blog Park, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to give the original connection, otherwise retain the right to pursue legal responsibility

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.