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

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
主站蜘蛛池模板: 贺州市| 德惠市| 天津市| 巴楚县| 阳信县| 杂多县| 东丰县| 黑龙江省| 扬中市| 新野县| 乌鲁木齐市| 峡江县| 邢台市| 三河市| 哈尔滨市| 富裕县| 铁力市| 辽阳县| 腾冲县| 夏津县| 疏勒县| 万安县| 交城县| 长沙市| 祁门县| 织金县| 建瓯市| 宁乡县| 简阳市| 台山市| 梁平县| 蓝田县| 军事| 和田市| 定州市| 紫阳县| 喜德县| 忻城县| 商水县| 新宾| 乌兰察布市|