当前位置:网站首页>Test basis: Redis of Nosql database
Test basis: Redis of Nosql database
2022-07-29 19:41:00 【Rejoice in the testing world】
Redis stands for Remote Dictionary Server, which is a key-value non-relational (NoSQL) database based on memory.
Compared to other in-memory databases, Redis has the following characteristics:
Redis can not only store data completely in memory, but also realize persistent storage of data through disk;
Redis supports rich data types, including string, list, set, zset, hash and other data types, so it is also called "data structure server";
Redis supports master-slave synchronization, that is, master-slave master-slave replication mode.Data can be synchronized from the master server to any number of slave servers, effectively ensuring data security;
Redis supports multiple programming languages, including C, C++, Python, Java, PHP, Ruby, Lua, and more.
Different from SQL-type databases, Redis does not provide the operation of creating a new database, because it comes with 16 (0-15) databases (the default database is 0).In the same library, the key is the only one that exists and cannot be repeated. It is like a "key" and can only open a "lock".The essence of key-value storage is to use the key to identify the value. When you want to retrieve the value, you must use the key corresponding to the value to search.
Redis database does not have the concept of "table". It uses different data types to meet the needs of storing data. Different data types can adapt to different application scenarios to meet the needs of developers.
A brief summary of the advantages of Redis:
High performance: Redis implements data storage based on memory, its read speed is 110,000 times/s, and its write speed is 81,000 times/s;
Multi-purpose tool: Redis has many uses, such as caching, message queues, building Redis clusters, etc.;
Command prompt function: The Redis client has a powerful command prompt function, which is very convenient to use and reduces the learning threshold;
Portability: Redis is written in standard C and can run on most operating systems, such as Linux, Mac, Solaris, etc.
Redis vs. other databases:

Now I invite you to join our software testing learning exchange group: [746506216], note "join the group", everyone can join togetherDiscuss and communicate software testing, learn software testing techniques, interviews and other aspects of software testing together. There will also be free live classes to gain more testing skills. Let's advance Python automated testing/test development together and move towards a high-paying careerroad.
Friends who like software testing, if my blog is helpful to you, if you like my blog content, please "Like", "Comment" and "Favorite" with one click!
Self-study course for software test engineers:
Interface performance test—software testers must know 618 actual combat scene analysis
Meituan Interview Questions_Advanced Test 25K Job Interview - Software Testers Should See
Jmeter actual combat explanation case - software testers must know

边栏推荐
- 【APP 改进建议】希望增加 pdf 及 word 的导出能力
- 7 lines of code crashed station B for 3 hours, but because of "a tricky 0"
- 高速无源链路阻抗匹配套路
- R语言使用xts包表示时间序列数据(time series data)
- R语言时间序列数据提取:使用xts包的first函数提取时间序列中最前面10天的数据(first 10 day)
- 效率技巧│十分钟学会 xmind 思维导图的使用
- c语言 || 杂
- 593. 有效的正方形 改善丑陋的代码
- Security整各Gateway后配置不生效?
- Postgresql中的pg_memory_barrier_impl和C的volatile
猜你喜欢
随机推荐
工作9年了!
牛客网刷题记录 || 指针
PIL库和opencv库
ARTS-第-25-期
The backslash \\ in MySQL is really a pit
一线大厂软件测试面试题及答案解析,2022最强版...
秋招之路-经典面试题之手写字符串函数
Small application components
Low code of the trilogy
经典SQL语句大全
Word Embedding与Word2Vec学习
FP6601QS6 SOT-23-6 USB专用充电端口控制器 QC2.0/3.0快充协议IC
新西藏,在云上!
支持向量机SVM
美国再度打压中国超算!申威、飞腾等7家实体被制裁
洪九果品、百果园抢滩港股,卖水果是门好生意吗?
QT 如何计算中英文字符串的长度
单核浏览器和双核浏览器有什么区别,哪个好用?
一次挖矿程序的清理(回忆版)
RestTemplate源码debug:可变形参引发的问题









