- 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
- Containerization with LXC
- 鴻蒙生態(tài):開啟萬物互聯(lián)的智慧新時代
- 從零開始寫Linux內(nèi)核:一書學(xué)透核心原理與實現(xiàn)
- Hands-On DevOps with Vagrant
- 精解Windows 8
- Extending Puppet
- 高性能Linux服務(wù)器構(gòu)建實戰(zhàn):運維監(jiān)控、性能調(diào)優(yōu)與集群應(yīng)用
- 玩到極致 iPhone 4S完全攻略
- Ganglia系統(tǒng)監(jiān)控
- 混沌工程:復(fù)雜系統(tǒng)韌性實現(xiàn)之道
- 嵌入式操作系統(tǒng)(Linux篇)(微課版)
- Docker+Kubernetes應(yīng)用開發(fā)與快速上云
- Moodle 3.x Teaching Techniques(Third Edition)
- 分布式高可用架構(gòu)之道
- 大規(guī)模分布式系統(tǒng)架構(gòu)與設(shè)計實戰(zhàn)