当前位置:网站首页>Advanced IO outline
Advanced IO outline
2022-07-27 07:20:00 【Lee Neo】

Blocking : Dead eye ,
Non blocking : Try to do ;
Advantages and disadvantages :
advantage :
Blocking is suspending a program , hand over cpu resources , therefore CPU The occupancy rate of is very low ;
shortcoming :
Blocking IO Cannot realize single thread concurrent reading ,



- Non blocking is not dead waiting compared to blocking , Here we mainly supplement finite state machine programming , Suitable for complex processes , The advantage is not afraid of Party A's demand ;
- IO Multiplex , Master at least two functions ;
边栏推荐
- QT连接sqlite数据库的错误及其修改办法
- Automatically generate UML sequence diagram according to text (draw.io format)
- Internal class -- just read this article~
- 36 - 新的 Promise 方法:allSettled & any & race
- Please ask the big guys a question. The pgsqlcdc task can't monitor changes after running for a period of time. Just restart it. What should I do
- Drools (5): drools advanced syntax
- Visual horizontal topic bug1:filenotfounderror: could not find module 'mvcameracontrol dll‘ (or one of it
- 使用pip命令切换不同的镜像源
- Knowledge points and answers of PHP intermediate interview in 2020
- Common problems in converting pytorch to onnx
猜你喜欢

Jmeter:接口自动化测试-BeanShell对数据库数据和返回数据比较

Synchronized锁

Quartus: an error is reported when adding a.V file to someone else's project

35. Search insert position

整体二分?

C# 常用功能整合-3

Relevant principles of MySQL index optimization

How to implement Devops with automation tools | including low code and Devops application practice

Pan Aimin, chairman of instruction set, attended the 2022 ecug con to speak for China's technical forces

How MySQL executes query statements
随机推荐
使用反射实现动态修改@Excel的注解属性
word-wrap:break-word 换行在各浏览器兼容的问题
36 - 新的 Promise 方法:allSettled & any & race
MySQL2
Codeforces Round #804 (Div. 2)(5/5)
火狐浏览器,访问腾讯云服务器的时候,出现建立安全连接失败的问题。
LogCat工具
DDD Domain Driven Design Notes
35. Search insert position
Flutter实战-请求封装(一)
ADB instruction sorting
QT连接sqlite数据库的错误及其修改办法
[Vani has a date] tail on rainy days
Algorithm -- Fibonacci sequence (kotlin)
A Competitive Swarm Optimizer for Large Scale Optimization
MySQL quickly compares database table data
Overall dichotomy?
String类的用法
2021 interview questions for php+go of Zhongda factory (2)
yhb_sysbench