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

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
主站蜘蛛池模板: 中宁县| 成武县| 金阳县| 龙门县| 襄垣县| 饶河县| 桃源县| 大邑县| 革吉县| 乌拉特前旗| 乌海市| 武宁县| 察雅县| 迁安市| 伊宁县| 阜城县| 包头市| 山阴县| 门头沟区| 红桥区| 肃北| 乌恰县| 社会| 长治县| 家居| 麻阳| 高密市| 集贤县| 和顺县| 垦利县| 分宜县| 临西县| 都兰县| 尉氏县| 客服| 从化市| 刚察县| 昌乐县| 遵义市| 包头市| 平顶山市|