Introduction to Redis

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

 Stringshasheslistssets ,
sorted sets with range queries bitmapshyperloglogs,  and geospatial with radius queries and streams .

Redis has built-in  replication , LUA scriptingLRU 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

 

 

Official website address

Published 193 original articles · Like 13 · Visitors 40,000+

Guess you like

Origin blog.csdn.net/u013919153/article/details/105597863