Python 3 Asynchronous Programming异步编程简单入门



Python 3 Asynchronous Programming异步编程简单入门

Rating 4.45 out of 5 (138 ratings in Udemy)


What you'll learn
  • 了解异步编程的基本概念
  • 关于并发,并行,同步,异步等基本概念
  • 如何实现协程,事件驱动
  • asyncio的基本语法

Description

python由于GIL(全局锁)的存在,不能发挥多核的优势,其性能一直饱受诟病。然而在IO密集型的网络编程里,异步处理比同步处理能提升成百上千倍的效率,弥补了python性能方面的短板,如最新的微服务框架japronto,resquests per second可达百万级。

 

python还有一个优势是库(第三方库)极为丰富,运用十分方便。asyncio是python3.4版本引入到标准库,python3.5又加入了async/await特性。

以下PEP是本课程的参考资料:

  • PEP 255 — Simple Generators

  • PEP 342 — Coroutines via Enhanced Generators

  • PEP 380 — Syntax for Delegating to a Subgenerator …

Duration 0 Hours 58 Minutes
Free

Self paced

Intermediate Level

Simplified Chinese (China)

6368

Rating 4.45 out of 5 (138 ratings in Udemy)

Go to the Course
We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.