Beckham _redis Learning Goals

Source: Internet
Author: User

Redis Learning Goals I. The introduction of NoSQL Second, Redis introduction third, the application of Redis occasions Iv. Learning goals for Redis

I. The introduction of NoSQL

Nosql (nosql=not only SQL), which means anti-SQL motion, refers to a non-relational database.

NoSQL is in the form of key-value storage, and traditional relational database is not the same, not necessarily follow the traditional database of some basic requirements, such as follow the SQL standard, Acid standard, table structure and so on, such database mainly has the following characteristics: non-relational, distributed, open source, The level can be expanded.

NoSQL has these features:

A, processing ultra-large amounts of data

B. Run on a cheap PC server cluster

C, smash the performance bottleneck

NoSQL Application Scenarios

1. High concurrency and read/write to Data

2. Efficient storage and access to massive amounts of data

3, high scalability and high availability of data

Second, Redis introduction

1, Redis is an open-source, advanced key-value storage System. It is commonly referred to as a data structure server because its keys can contain strings, hashes, lists, collections, and ordered collections. To ensure efficiency, the data is cached in memory, and it can periodically write updated data to disk or write modifications to the appended record file.

2. The difference between Redis and MySQL

Redis

Mysql

Whether you have a library concept

Yes

Yes

Whether you have a table concept

No

Yes

Do you have a field concept

No

Yes

Third, Redis use occasions

1, take the latest n data operation

2, the leaderboard application, take top n operation

3, need to accurately set the expiration time of the application

4. Counter Application

5, pub/sub build real-time message system

6. Build the queue system

7. Cache

Iv. Learning goals for Redis

1. Understand the data types of Redis

2. Common commands for Redis

3. Advanced Applications for Redis

4. Simple example of Php+redis

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

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Beckham _redis Learning Goals

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.