About Redis 2.8

Source: Internet
Author: User

1 RedisIntroduction1.1   Redisdefinition

Redis is an open source , C- written kv storage System,NoSQL database, also known as: non-relational database

1) open-source

2) C language Writing

3) Kv Storage System

4) Nosql, non-relational database

the difference between a Nosql(non-relational) database and a mysql-orcale relational database

Nosql: Storage mode (key/value)

Relational database: stored by (table structure provides primary foreign key association)

Application Scenarios:

Internet, e-commerce

Common NoSQL:

data types supported by MongoDB (document database):Bson

data types supported by Redis (Memory database):string,set,list,hash,sorted-set

HBase(a massive distributed NoSQL database --hadoop ecosystem)

1.2   Redisfeatures

1) Cache:Redis will store the data on the hard disk in memory to provide fast read and write.

Common caches:

Oscache

Ehcache

Memcache

Redis

Cached schema diagram:

Figure 1.(memcache)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/BE/wKiom1WEHsyCsMabAAEICYDAgCU344.jpg "title=" XY0 ' 0) x0jj2$ @HMADXM08ME. png "alt=" wkiom1wehsycsmabaaeicydagcu344.jpg "/>

Figure 2.(redis)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/BE/wKiom1WEHvSA3lm3AAFAhL_u_Eo456.jpg "title=" 1.png " alt= "Wkiom1wehvsa3lm3aafahl_u_eo456.jpg"/>

2) rich data type (kv)

data type: The data Type here refers to the type of value ,the type of key is string or byte

3) persistent:Redis also writes data to the hard disk to make a backup (persistent is the reason that Redis is called a database)


About Redis 2.8

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.