One of Redis learning summaries--redis first entry

Source: Internet
Author: User
Tags redis windows

    • About Redis

Redis is an open source API that is written in ANSI C, supports the web, can be persisted in memory, key-value databases, and provides multiple languages.

Redis is a key-value storage system. Similar to memcached, it supports storing more value types, including string (string), list (linked list), set (set), Zset (sorted set-ordered collection), and hash (hash type). These data types support Push/pop, Add/remove, and intersection-set and difference sets, and richer operations, and these operations are atomic. Based on this, Redis supports sorting in a variety of different ways. As with memcached, data is cached in memory to ensure efficiency. The difference is that Redis periodically writes the updated data to disk or writes the modified operation to the appended record file, and Master-slave (Master-Slave) synchronization is implemented on this basis.

    • Redis Related Resources Download
    1. Redis Official website: http://redis.io/
    2. Redis Linux Download: http://redis.io/download
    3. Redis Windows edition Download: Https://github.com/MSOpenTech/redis
    4. Redis Connection Tool Windows edition: Http://redisdesktop.com/download
    • Start Redis Service under Windows
    1. Open cmd into the Redis bin directory
    2. Enter the command:
Redis-server redis.conf

If the following prompt appears:

The Windows version of Redis allocates a memory mapped heap for sharing withthe forked process used for persistence op Erations. in order to share thismemory, Windows allocates from the system paging file a portion equal to thesize of the Redis he Ap. At this time there was insufficient contiguous freespace available in the system paging file for this operation (Window S ERROR0X5AF).  To work around this is either increase the size of the systempaging file, or decrease the size of the Redis heap with The--maxheap flag. Sometimes a reboot would defragment the system paging file sufficiently for this operation to completesuccessfully. The documentation included with the binary distributions for moredetails on the -maxheap flag. Redis can not continue. Exiting.       

You can add parameters:--maxheap 100M, or add maxheap 100M at the end of configuration file redis.conf.

One of the Redis learning summaries--redis first entry

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.