官术网_书友最值得收藏!

Asynchronous Programming in Python

his chapter covers the principles of asynchronous programming and the AsyncIO library. It is composed of three parts. The first one explains what asynchronous programming is, how it is different from synchronous programming, and why and when it is more efficient than synchronous programming. This first part also goes through the history of asynchronous programming in Python to allow you to better understand the current state of Python in this domain. The second part is dedicated to the AsyncIO library. AsyncIO, the official Python asynchronous library, contains all features needed to implement readable asynchronous code. The last part explains how to implement a real application and, more specifically, an HTTP server. By the end of this chapter, you will be able to write an asynchronous network service with AsyncIO.

The following topics will be covered in this chapter:

  • Asynchronous programming
  • The history of asynchronous programming in Python
  • An introduction to AsyncIO
  • Reactive HTTP echo servers
主站蜘蛛池模板: 连山| 灌南县| 庄河市| 贵定县| 安乡县| 耒阳市| 麟游县| 巩义市| 车险| 揭阳市| 英超| 张家界市| 南昌县| 桑日县| 磴口县| 万源市| 城固县| 宝清县| 高青县| 盐边县| 岑巩县| 宜良县| 甘肃省| 大石桥市| 云浮市| 德钦县| 宜兰县| 肃北| 哈巴河县| 徐水县| 晋城| 沁源县| 迭部县| 安塞县| 定安县| 文成县| 德保县| 中牟县| 庄河市| 攀枝花市| 海阳市|