Huawei cloud academy takes you to redis in 7 days (1)
What is redis? Redis (remote dictionary server) is a key value type open source cache middleware.
It can be used in database front-end cache, event publish or subscribe, high-speed queue and other scenarios.
Provide string, hash, list, set, sorted set and stream
(stream) and other data types.
Data reading and writing is based on memory and can be persisted to disk.
1. Redis is the most popular in memory database, but it is not limited to this.
2. Which users will use redis?
In fact: almost all large, medium and small distributed system applications will use redis!
Cache is an important component in distributed system, which mainly solves the performance problem of hot data access in high concurrency and big data scenarios. Provide high-performance fast access to data.
Small video: cache user relationship, content storage, etc
Website: cache web page, user login information
Game: cache character information, points ranking
E-commerce: cache commodity information, shopping cart, etc
Blockchain: cache K-line chart, stock market information, etc
Logistics: cache user information, vehicle information, geographic information
3. Redis Keywords: cache database, redis, blooming flowers, key value database, database load reduction, data access speed up, 1 / 8g-1024g, main standby, single machine, cluster
4. Differences between cloud service redis and open source redis
The above content is from Huawei cloud college（ edu.huaweicloud.com ）, if you want to continue your study, please log in to cloud college and search “redis” to get free video courses.