Getting started with redis must have knowledge

Redis basic knowledge directory

5、sortedSet

 


foreword

1. What is redis?

Redis (Remote Dictionary Server), that is, remote dictionary service!
It is an open source written in ANSI C language, supports the network, can be based on memory and can be persistent log type, Key-Value database, and provides APIs in multiple languages.

insert image description here

  • Redis usage scenarios
    1. Memory storage and persistence. The memory will be lost when power is off, so persistence is very important (rdb, aof) 2. High efficiency and can be used for cache 3. Publish and subscribe
    system
    4. Map information analysis
    5. Timer, counter (pageviews!)
    6.…

Two, redis common commands

1.String type

2. Hash type


 

3. List type

4. set type

 

5、SortedSet

 

Summarize

Guess you like

Origin blog.csdn.net/m0_49128301/article/details/130329539