What is Redis?
Redis is an open source (BSD licensed), in- memory data structure storage system .
It can be used as a database , cache and message middleware .
Generally used for caching.
Supports multiple types of data structures
Strings , hashes , lists , sets ,
sorted sets with range queries , bitmaps , hyperloglogs, and geospatial with radius queries and streams .
Redis has built-in replication , LUA scripting , LRU eviction , transactions and different levels of disk persistence , and through Redis Sentinel and Cluster ) Provide high availability (high availability).
advantage
Extremely high performance |
Redis can read at 110,000 times / s and write at 81,000 times / s. |
Rich data types |
Redis supports Strings, Lists, Hashes, Sets and Ordered Sets data type operations in binary cases. |
atom |
All operations in Redis are atomic, and Redis also supports the atomic execution of several operations. |
Rich features |
Redis also supports publish / subscribe, notification, key expiration and so on. |
effect
1. Map path calculation
2. Sort
3. Statistics