当前位置:网站首页>Redis single thread and multi thread
Redis single thread and multi thread
2022-07-03 22:03:00 【It's hard to choose a name】
redis Service process :
1、redis Receive client requests
2、 The Internet IO Parsing requests into commands
3、 Execute the command and return
Generally speaking redis It's single threaded , refer to redis Processing requests 、 analysis 、 Executing commands is done by a single thread , But operations such as cleaning up expired data are still done by multithreading
6.0 Before the release
The whole process is completed by single thread
6.0 After the version Not on by default
After the main thread receives the request , The Internet IO The parsing work is left to other threads , It is parsed into commands and finally handed over to the main thread for execution
Redis The multithreading part is only used to process network data reading and writing and protocol parsing , The execution command is still executed in a single thread sequence
边栏推荐
- Report on the development strategy of China's engineering bidding agency and suggestions for the 14th five year plan Ⓙ 2022 ~ 2028
- Common SQL sets
- Code in keil5 -- use the code formatting tool astyle (plug-in)
- Yyds dry inventory Chapter 4 of getting started with MySQL: data types that can be stored in the data table
- gslb(global server load balance)技术的一点理解
- Luogu deep foundation part 1 Introduction to language Chapter 6 string and file operation
- Go language slice interview real question 7 consecutive questions
- Tkinter Huarong Road 4x4 tutorial III
- Why use pycharm to run the use case successfully but cannot exit?
- How PHP gets all method names of objects
猜你喜欢
The latest analysis of crane driver (limited to bridge crane) in 2022 and the test questions and analysis of crane driver (limited to bridge crane)
Electronic tube: Literature Research on basic characteristics of 6j1
Correlation
MySQL - index
treevalue——Master Nested Data Like Tensor
Day 9 HomeWrok-ClassHierarchyAnalysis
[dynamic programming] Ji Suan Ke: Suan tou Jun breaks through the barrier (variant of the longest increasing subsequence)
仿网易云音乐小程序
TiDB 之 TiCDC6.0 初体验
A little understanding of GSLB (global server load balance) technology
随机推荐
2022 electrician (elementary) examination questions and electrician (elementary) registration examination
Leetcode problem solving - 230 The k-th smallest element in the binary search tree
pivot ROP Emporium
js demo 計算本年度還剩下多少天
What indicators should be paid attention to in current limit monitoring?
Imitation Netease cloud music applet
Is the account opening of Guotai Junan Securities safe and reliable? How to open Guotai Junan Securities Account
Monkey/ auto traverse test, integrate screen recording requirements
A little understanding of GSLB (global server load balance) technology
Let me ask you a question. Have you ever used the asynchronous io of Flink SQL to associate dimension tables in MySQL? I set various settings according to the official website
[dynamic programming] Ji Suan Ke: Suan tou Jun breaks through the barrier (variant of the longest increasing subsequence)
4. Data splitting of Flink real-time project
MySQL——JDBC
gslb(global server load balance)技术的一点理解
Yyds dry inventory Chapter 4 of getting started with MySQL: data types that can be stored in the data table
Implementation principle of inheritance, encapsulation and polymorphism
Supply and demand situation and market scale calculation report of China's portable energy storage power PES industry Ⓛ 2022 ~ 2028
Go language slice interview real question 7 consecutive questions
Leetcode problem solving - 235 Nearest common ancestor of binary search tree
Under the double reduction policy, research travel may become a big winner