asyncio Recipes: A Problem-Solution Approach


asyncio Recipes: A Problem-Solution Approach
Authors: Mohamed Mustapha Tahrioui
ISBN-10 书号: 1484244001
ISBN-13 书号: 9781484244005
Edition 版本: 1st ed.
Publisher Finelybook 出版日期: 2019-05-22
pages 页数: 344 pages


Book Description
Get the most out of asyncio and find solutions to your most troubling Python programming problems. This book offers a pragmatic collection of recipes by going beyond online resources and docs to provide guidance on using this complex library. As such,you’ll see how to improve application performance and run computationally intensive programs faster.
asyncio Recipes starts with examples illustrating the primitives that come with the asyncio library,and explains how to determine if asyncio is the right choice for your application. It shows how to use asyncio to yield performance gains without multiple threads,and identifies common mistakes and how to prevent them. Later chapters cover error-handling,testing,and debugging. By the end of this book,you’ll understand how asyncio runs behind the scenes,and be confident enough to contribute to asyncio-first projects.

What you will learn
Discover quirky APIs such as the event loop policies
Write asyncio code with native coroutines
Use the ast module to find legacy asyncio code
Work with contextvars
See what a async context manager is and why a lot of asyncio APIs use them\

1.Preparing for the Recipes
2.Working with Event Loops
3.Working with Coroutines and Async/Await
4.Working with Async Generators
5.Working with Async Context Manager
6.Communication Between Asyncio Components
7.Synchronization Between Asyncio Components
8.Improving Asyncio Applications
9.Working with Network Protocols
10.Preventing Common Asyncio Mistakes

下载地址 Download
打赏
未经允许不得转载:finelybook » asyncio Recipes: A Problem-Solution Approach

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏