Beckham _ redis learning goal, Beckham _ redis goal

Source: Internet
Author: User

Beckham _ redis learning goal, Beckham _ redis goal
Redis learning objectivesI. About NosqlIi. redis IntroductionIii. Applicable scenarios of redisIv. Learning objectives of redis

 

 

I. About Nosql

Nosql (Nosql = Not Only SQL) refers to the anti-SQL movement, which refers to non-relational databases.

Nosql is stored in the form of key-value. Unlike traditional relational databases, Nosql does not necessarily comply with some basic requirements of traditional databases, such as SQL, acid, and table structures, this type of database has the following features: Non-relational, distributed, open-source, horizontally scalable.

Nosql has these features:

A. process a large amount of data

B. Run on a cheap PC Server Cluster

C. cracking the performance bottleneck

Applicable scenarios of Nosql

1. High-concurrency data read/write

2. efficient storage and access to massive data

3. high scalability and availability of data

 

 

Ii. redis Introduction

1. Redis is an open-source and advanced key-value storage system. It is usually called a Data Structure server because its keys can contain strings, hash, list, set, and ordered set. To ensure efficiency, the data is cached in the memory. It can also periodically write the updated data to the disk or write the modification operation to the append record file.

2. Differences between redis and mysql

 

Redis

Mysql

Indicates whether the Database concept exists.

Yes

Yes

Table concept?

None

Yes

Field concept?

None

Yes

 

 

Iii. Usage of redis

1. Operations for retrieving the latest N data

2. Ranking application, top N operations

3. Applications that need to precisely set the expiration time

4. Counter application

5. Build a Real-Time Message System Using pub/sub

6. Build a queue system

7. Cache

 

Iv. Learning objectives of redis

1. Understand redis Data Types

2. Common redis commands

3. Advanced applications of redis

4. Simple php + redis instance

The quieter you become, the more you are able to hear!

 

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.