- Hands-On Reactive Programming with Python
- Romain Picard
- 159字
- 2021-06-24 18:25:15
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
- 電腦組裝與系統安裝
- Google系統架構解密:構建安全可靠的系統
- 白話區塊鏈
- 操作系統基礎與實踐:基于openEuler平臺
- 深入理解eBPF與可觀測性
- Linux內核觀測技術BPF
- Advanced TypeScript Programming Projects
- HTML5 Enterprise Application Development
- μC/OS-III內核實現與應用開發實戰指南:基于STM32
- UI設計手繪表現從入門到精通
- 嵌入式微系統
- Android應用性能優化最佳實踐
- Linux系統安全:縱深防御、安全掃描與入侵檢測
- Hadoop Operations and Cluster Management Cookbook
- Azure Serverless Computing Cookbook