Study note

Async IO in Python: A Complete Walkthrough – Real Python

Properties

Type
Blogs
Status
待读
Domain
Engineering
Category
Python、Go 与并发编程
Source
realpython.com
Vault note
library/articles/engineering/Async-IO-in-Python-A-Complete-Walkthrough-–-Real-Python-befbb603bfab69c4.md

Summary

Real Python 的 asyncio 实战教程,讲解 async I/O 与 threading/multiprocessing 的区别、coroutine、`async`/`await`、event loop、queue、async iterator/context manager、异常处理和适用场景。

Highlights

适合系统补 Python 异步编程基本功,特别适合理解为什么 asyncio 是单线程并发、适合 I/O-bound 任务而不是 CPU-bound 并行。

Comments

Loading comments...