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.