"Smelting number into gold NoSQL Pilot II" can withstand massive pressure key-value database Redis

Source: Internet
Author: User
Tags memcached install redis

Redis is a high-performance Key-value database.

The emergence of Redis, to a large extent, compensates for the lack of memcached such keyvalue storage, in some cases can be a good complement to the relational database.

Redis is essentially a key-value database, but it also absorbs the advantages of some relational databases while keeping the key-value database simple and quick.

So that its location is between the relational database and the key-value database.

Redis can not only save strings type of data, but also can save lists type (ordered) and sets type (unordered) data, but also can complete sorting (sort) and other advanced functions, in the implementation of INCR,SETNX and other functions, the operation of the atomic, in addition, Features such as master-slave replication are also supported.

Disadvantages of memcached

Pure memory operation, data loss after shutdown save byte data, data type poor LRU algorithm results in data uncontrolled loss consistency processing simple application side is too thick, server-side too thin application scenario is limited, it is difficult to be considered as a complete database product Features of RedisMemory + hard disk persistence save with a very rich data type, especially good at high speed processing data snapshot of the array class data with the master-slave replication data types supported by Redis String Linked list collection ordered collection hash table Small trial Sledgehammer

Installing Redis

Yum Install Redis

test if Redis is installed successfully

Python Package to install Redis

Easy_install Redis

Python link Database

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.