当前位置:网站首页>Redis General Command
Redis General Command
2022-06-12 15:43:00 【ZgaoYi】
1.String type
String Three types of formats
- character string : Normal string
- int type : Integer types , Can do self increasing , Since the reduction of operating
- float type : Floating point type , You can do auto increase and auto decrease
- Redis Of key Format :[ Project name ]:[ Business name ]:[ type ]:[id]

2.Hash type
Hash type , Also called hash , Its value It's an unordered Dictionary , Be similar to Java Medium HashMap structure .
practice :
3.List type
Redis Medium List The type and Java Medium LinkedList similar , It can be regarded as a two-way linked list structure . It can support both forward and reverse retrieval .
Same characteristics LinkedList
- Orderly
- Elements can be repeated
- Insert and delete fast
- The query speed is average
practice :
4.Set type
Redis Of Set Structure and Java Medium HashSet be similar , Can be seen as a value by null Of HashMap. Because it is also a Hash surface , So it also has HashSet Similar features :
- disorder
- Element is not repeatable
- Quick search
- Support intersection 、 Combine 、 Difference set and other functions
practice :
5.SortSet type
Redis Of SortSet It's a sortable set aggregate , And Java Medium treeSet Some similar , But the underlying data structure is very different .SortSet Each element in the has a score attribute , Can be based on score Attribute to sort elements , The bottom implementation is a jump table plus hash surface
SortedSet It has the following characteristics :
- Sortable
- Element is not repeatable
- Fast query speed
because SortedSet SORTABILITY of , Often used to implement functions like leaderboards

边栏推荐
- [jvm learning] virtual machine stack
- Error 1105: message:\“raft entry is too large
- nohup 命令使用
- Solutions to some problems of scuacm22 retreat competition before summer training
- Solution of user and root forgetting password in virtual machine
- Install RHEL 7/8 (red hat) virtual machine (Reprint)
- 學習是一件逆人性的事情(成為高手的內功心法)
- Task fruit Juicer 0611
- 2022.02.28 - SX11-05. The largest rectangle in the histogram
- IMU learning records
猜你喜欢

Pta: self test -2 prime pair conjecture (20 points)

【光源实用案例】 UV-LED固化创新,让产线变得更丝滑

Deepin20.6 RTX3080 安裝顯卡驅動510.60.02、CUDA11.6、PyTorch1.11
![[jvm learning] types of GC and allocation process of objects on JVM heap](/img/f3/8141be7bcbf79d9c874f9cc09683c8.jpg)
[jvm learning] types of GC and allocation process of objects on JVM heap

Pta: self test -3 array element cyclic right shift problem (20 points)

Increase the maximum number of MySQL connections
![[automation] kolla Based Automated Deployment CEPH cluster](/img/d8/fdfd166204242faba406220f548ea5.jpg)
[automation] kolla Based Automated Deployment CEPH cluster

UDP总结(TCP/IP详解卷1/2)

Simple crawler framework: parsing 51job page position information

虚拟机中用户和root忘记密码解决办法
随机推荐
What is JUC in high concurrency programming
Kinect2.0+ORBSLAM2_ with_ pointcloud_ map
sql server 2008 的导入导出步骤
应势而变,2022年下半场的升级之路
Notes on ARM 64 instructions
Village to village communication (and collective search)
Pta: self TEST-1 print Hourglass (20 points)
Job submission instructions upload jobs to network disk
org. xml. sax. SAXParseException; lineNumber: 63; columnNumber: 10; The definition of "mapper" in the related type must be matched with "(CAC
Servlet连接数据库实现用户登录功能
Introduction to resttemplate
[game server design cases] insights
Defer learning in golang
Xshell 7 official website free download
Apache kylin Adventure
Using the CSDN markdown editor
C语言 分割bin文件程序
Singleton mode instance
Solutions to some problems of scuacm22 retreat competition before summer training
Solution of user and root forgetting password in virtual machine