当前位置:网站首页>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
边栏推荐
- Imitation Netease cloud music applet
- China's TPMS industry demand forecast and future development trend analysis report Ⓐ 2022 ~ 2028
- Yiwen teaches you how to choose your own NFT trading market
- China's Call Center Industry 14th five year plan direction and operation analysis report Ⓔ 2022 ~ 2028
- Global and Chinese market of wall mounted kiosks 2022-2028: Research Report on technology, participants, trends, market size and share
- 鹏城杯 WEB_WP
- 2022 safety officer-a certificate registration examination and summary of safety officer-a certificate examination
- Luogu deep foundation part 1 Introduction to language Chapter 7 functions and structures
- 2022 G3 boiler water treatment registration examination and G3 boiler water treatment examination papers
- Notes on MySQL related knowledge points (startup, index)
猜你喜欢

Yyds dry inventory hcie security Day12: concept of supplementary package filtering and security policy

Redis concludes that the second pipeline publishes / subscribes to bloom filter redis as a database and caches RDB AOF redis configuration files

gslb(global server load balance)技術的一點理解

Mysql - - Index

Covariance

treevalue——Master Nested Data Like Tensor

Control loop of program (while loop)

What is the difference between res.send() and res.end() in the node express framework
![[dynamic planning] counting garlic customers: the log of garlic King (the longest increasing public subsequence)](/img/29/543dce2f24130d22c1824385fbfa8f.jpg)
[dynamic planning] counting garlic customers: the log of garlic King (the longest increasing public subsequence)

Asynchronous artifact: implementation principle and usage scenario of completable future
随机推荐
Luogu deep foundation part 1 Introduction to language Chapter 7 functions and structures
MySQL -- standardize database design
2022 free examination questions for safety management personnel of hazardous chemical business units and reexamination examination for safety management personnel of hazardous chemical business units
Cognitive fallacy: what is dimensional curse
The post-90s resigned and started a business, saying they would kill cloud database
Is it safe and reliable to open an account and register for stock speculation? Is there any risk?
Rest reference
IPhone development swift foundation 08 encryption and security
(5) User login - services and processes - History Du touch date stat CP
An expression that regularly matches one of two strings
JS demo calculate how many days are left in this year
Compréhension de la technologie gslb (Global Server load balance)
Awk getting started to proficient series - awk quick start
股票炒股开户注册安全靠谱吗?有没有风险的?
China's Call Center Industry 14th five year plan direction and operation analysis report Ⓔ 2022 ~ 2028
gslb(global server load balance)技术的一点理解
QFileDialog
Under the double reduction policy, research travel may become a big winner
4. Data splitting of Flink real-time project
TiDB 之 TiCDC6.0 初体验