当前位置:网站首页>Several models of IO blocking, non blocking, IO multiplexing, signal driven and asynchronous IO
Several models of IO blocking, non blocking, IO multiplexing, signal driven and asynchronous IO
2022-07-01 13:31:00 【It's xiaoqingqing】
Recommend dark horse redis A network model ,
First of all, understand User status and Kernel mode
Avoid user applications Lead to conflict even to the extent that Kernel crash , Users' English and kernel should be separated
According to the addressing control of the process , Divide into two parts : Kernel mode , User mode



1. Blocking io

2. Non blocking io

In terms of performance , Although the first stage It's non blocking , But he has to keep asking , It can lead to cpu Idle , Performance degradation
3. Multiplexing io
High performance , More complicated , It is also commonly used in interviews , Here is a new chapter https://blog.csdn.net/qq_52252193/article/details/125546614
4. Signal driven IO

5. asynchronous IO
The whole process is non blocking , The user process completes the asynchronous call , Leave the task to the kernel , The kernel waits for the data to be ready and processed , Then send the results back to the user , ( It's equivalent to the boss letting employees work , The boss is too idle , Employees may die of fatigue )

Summary and comparison

边栏推荐
- 3.4 《数据库系统概论》之数据查询—SELECT(单表查询、连接查询、嵌套查询、集合查询、多表查询)
- 波浪动画彩色五角星loader加载js特效
- Feign & Eureka & Zuul & Hystrix 流程
- Colorful five pointed star SVG dynamic web page background JS special effect
- Application of 5g industrial gateway in scientific and technological overload control; off-site joint law enforcement for over limit, overweight and overspeed
- 声明一个抽象类Vehicle,它包含私有变量numOfWheels和公共函数Vehicle(int)、Horn()、setNumOfWheels(int)和getNumOfWheels()。子类Mot
- nexus搭建npm依赖私库
- Report on the current situation and development trend of bidirectional polypropylene composite film industry in the world and China Ⓟ 2022 ~ 2028
- Who should I know when opening a stock account? Is it actually safe to open an account online?
- 【大型电商项目开发】性能压测-压力测试基本概念&JMeter-38
猜你喜欢

内容审计技术

Beidou communication module Beidou GPS module Beidou communication terminal DTU

波浪动画彩色五角星loader加载js特效

nexus搭建npm依赖私库

5G工业网关的科技治超应用 超限超重超速非现场联合执法

The future of game guild in decentralized games

Judea pearl, Turing prize winner: 19 causal inference papers worth reading recently

图灵奖得主Judea Pearl:最近值得一读的19篇因果推断论文
Reasons for MySQL reporting 1040too many connections and Solutions

Application of 5g industrial gateway in scientific and technological overload control; off-site joint law enforcement for over limit, overweight and overspeed
随机推荐
软件测试中功能测试流程
Computer network interview knowledge points
SVG钻石样式代码
ArrayList扩容机制以及线程安全性
Content Audit Technology
Apache-atlas-2.2.0 independent compilation and deployment
MySQL六十六问,两万字+五十图详解!复习必备
Asp.netcore利用dynamic简化数据库访问
【大型电商项目开发】性能压测-压力测试基本概念&JMeter-38
Will it affect the original MySQL database to read the data of a MySQL table in full by flick MySQL CDC
Google Earth Engine(GEE)——全球人类居住区网格数据 1975-1990-2000-2014 (P2016)
啟動solr報錯The stack size specified is too small,Specify at least 328k
波浪动画彩色五角星loader加载js特效
Global and Chinese polypropylene industry prospect analysis and market demand forecast report Ⓝ 2022 ~ 2027
Feign & Eureka & Zuul & Hystrix 流程
LeetCode重建二叉树详解[通俗易懂]
String input function
用命令行 给 apk 签名
Report on the current situation and development trend of bidirectional polypropylene composite film industry in the world and China Ⓟ 2022 ~ 2028
Analysis report on production and marketing demand and investment forecast of global and Chinese diamond powder industry Ⓤ 2022 ~ 2027