What is Redis?
What Redis is, first of all, the Redis official online says: A persistent key-value database with built-in NET interface written in ansi-c for Posix systems
Redis is the key value server, which can replace MySQL as a database, and it can also store hot data as a cache server. and Redis supports complex data features, such as List,set.
There are two ways to store Internet Information:
1. Relational database
2.key value
Business data is not simple data characteristics, such as rights management, such as the user's permissions, is a list data structure.
If you store with a relational database, you need to store permissions with multiple rows of data, each row will have redundant information, and if you use Redis storage
can be simple and efficient, because Redis supports atomic operations of the list data structure and can add or remove atomic members.
and using Redis does not have to be concerned with data persistence issues.
What is Redis?