Before introducing Redis, first understand that NoSQL (Not noly SQL) is not only SQL
is a non-relational database; Redis is a non-relational database.
Traditional Mysql, oracle, sql server, etc. are relational databases
. Why do you need NoSQL? The following problems, the traditional relational database is not enough
High performance - high concurrent read and write
Huge Storage - Efficient storage and access of massive data
High Scalablility && High Availability
NoSQL products, MongoDB, Redis, etc. Redis is currently mainstream
Features of NoSQL
Easy expansion
and flexible data model
Large data volume, high performance and high
availability
High-performance key-value database, supported key-value data types
String type
List type
Sorted collection type
hash type
Collection type
Application scenarios of Redis
cache
task queue
Website Visit Statistics
Data expiration processing
Application leaderboard
Session separation in distributed cluster architecture