当前位置:网站首页>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
边栏推荐
- 十大券商开户注册安全靠谱吗?有没有风险的?
- Pengcheng cup Web_ WP
- How does sentinel, a traffic management artifact, make it easy for business parties to access?
- 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
- Getting started with DOM
- 4. Data splitting of Flink real-time project
- DR-AP40X9-A-Qualcomm-IPQ-4019-IPQ-4029-5G-4G-LTE-aluminum-body-dual-band-wifi-router-2.4GHZ-5GHz-QSD
- Compréhension de la technologie gslb (Global Server load balance)
- Capturing and sorting out external articles -- autoresponder, composer, statistics [III]
猜你喜欢
Blue Bridge Cup Guoxin Changtian single chip microcomputer -- led lamp module (V)
Teach you how to install aidlux (1 installation)
Preliminary analysis of smart microwave radar module
treevalue——Master Nested Data Like Tensor
常用sql集合
Awk getting started to proficient series - awk quick start
No matter how hot the metauniverse is, it cannot be separated from data
MySQL——JDBC
No more! Technical team members resign collectively
The latest analysis of R1 quick opening pressure vessel operation in 2022 and the examination question bank of R1 quick opening pressure vessel operation
随机推荐
Global and Chinese market of wireless hard disk 2022-2028: Research Report on technology, participants, trends, market size and share
How does sentinel, a traffic management artifact, make it easy for business parties to access?
English topic assignment (28)
仿网易云音乐小程序
MySQL -- standardize database design
No matter how hot the metauniverse is, it cannot be separated from data
2022 safety officer-b certificate examination summary and safety officer-b certificate simulation test questions
Luogu deep foundation part 1 Introduction to language Chapter 6 string and file operation
Global and Chinese market of wall mounted kiosks 2022-2028: Research Report on technology, participants, trends, market size and share
Imitation Netease cloud music applet
What is the difference between res.send() and res.end() in the node express framework
Development mode and Prospect of China's IT training industry strategic planning trend report Ⓣ 2022 ~ 2028
Yyds dry inventory hcie security Day12: concept of supplementary package filtering and security policy
90 后,辞职创业,说要卷死云数据库
Conditional statements of shell programming
2022 high altitude installation, maintenance and removal of examination question bank and high altitude installation, maintenance and removal of examination papers
股票炒股开户注册安全靠谱吗?有没有风险的?
Tidb's initial experience of ticdc6.0
China's Call Center Industry 14th five year plan direction and operation analysis report Ⓔ 2022 ~ 2028
An expression that regularly matches one of two strings