advance/async/web-server #836
Replies: 4 comments 9 replies
-
为什么我把依赖加上后总是build失败😥😥😥 |
Beta Was this translation helpful? Give feedback.
-
使用多线程并行处理请求: 同时发起多个 /sleep 请求, 第一个5s后返回,第二个 10s后返回,第三个15s后返回, 貌似并没有与多个线程同时处理这些请求吧? |
Beta Was this translation helpful? Give feedback.
-
单线程异步确实神奇 |
Beta Was this translation helpful? Give feedback.
-
多线程+async,
这不是为每个async开了个线程吗,那async还有什么意义?我的理解是async类似协程,把当前线程分成一个个task,可在task间无缝切换,但task阻塞则线程阻塞。但如果每个线程里只有一个async,不等于没async吗? |
Beta Was this translation helpful? Give feedback.
-
advance/async/web-server
https://course.rs/advance/async/web-server.html
Beta Was this translation helpful? Give feedback.
All reactions