Redis: I. Introduction

1.1 R What is edis

    Redis is an open source, written in ANSI C, the high performance of Key-Value NoSQL database.

1.2 R & lt EDIS characteristics

(1) Based on Memory

(2) persistent data

(3) has a wealth of data structure types to meet the storage requirements of the non-relational data

(4) supports most popular development languages, such as C, C ++, Java, Python, R, JavaScript and so on.

(5) support the cluster model, efficient and stable.

1.3 Data Model (Key)

(1) in the form of key-value pairs.

Data structure types (2) of Redis, refers to the structure type Redis value.

wps1

1.4 Redis role

(1) is essentially a database capable of storing data.

    Redis flexibility to deal with non-relational data reading and writing problems are in addition to MySQL and other relational databases.

Sina microblogging do is to use Redis cluster database.

(2) data cache.

    The so-called cache, is to load data directly into the memory, but not always read from the disk by IO streams. Benefits: read and write high efficiency.

And sucked Redis data is stored directly in memory, only when there is insufficient memory space, the part of the data persisted to disk.

Guess you like

Origin www.cnblogs.com/wozibi/p/11209645.html