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

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
主站蜘蛛池模板: 汾阳市| 油尖旺区| 郎溪县| 潮州市| 巴林左旗| 历史| 临洮县| 普兰县| 罗田县| 浮山县| 永川市| 昆山市| 岳普湖县| 兰考县| 清涧县| 广灵县| 镇平县| 清水县| 桦甸市| 杨浦区| 万盛区| 格尔木市| 涡阳县| 津市市| 泸水县| 霸州市| 泰安市| 绿春县| 阿克| 沾化县| 文登市| 郎溪县| 呼和浩特市| 开远市| 安新县| 德清县| 定陶县| 苍梧县| 三明市| 阿瓦提县| 岑巩县|