并发、并行、线程、进程与协程的选择模型 | Python

本章覆盖:concurrency vs parallelism;I/O-bound;CPU-bound;thread;process;coroutine;先按任务性质选模型,不背单一万能方案。

本章知识点

  • concurrency vs parallelism
  • I/O-bound
  • CPU-bound
  • thread
  • process
  • coroutine
  • 先按任务性质选模型,不背单一万能方案