What is redis?
Recommended: "redis video tutorial"
Official introduction Explained: Redis is an open source project based on BSD. It is a storage system that stores structured data in memory. You can use it as a database, cache and message middleware.
Also supports data types such as strings, lists, hashes, sets, sorted sets, bitmaps, hyperloglogs and geospatial indexes. It also has built-in replication, lua scripts, LRU, transactions and other functions, achieving high availability through redis sentinel and automatic sharding through redis cluster. As well as transactions, publish/subscribe, automatic failover and more.
In short, redis is a key-value storage system. Including string (string), list (linked list), set (set), zset (sorted set - ordered set) and hash (hash type).
● redis provides five data types: string, hash, list, set and zset (sorted set).
● redis uses two file formats: full data and incremental requests.
The above is the detailed content of what is redis. For more information, please follow other related articles on the PHP Chinese website!