Advertisement

asyncio Recipes

A Problem-Solution Approach

  • Mohamed Mustapha Tahrioui

Table of contents

  1. Front Matter
    Pages i-xxvi
  2. Mohamed Mustapha Tahrioui
    Pages 1-4
  3. Mohamed Mustapha Tahrioui
    Pages 5-48
  4. Mohamed Mustapha Tahrioui
    Pages 49-75
  5. Mohamed Mustapha Tahrioui
    Pages 77-95
  6. Mohamed Mustapha Tahrioui
    Pages 97-112
  7. Mohamed Mustapha Tahrioui
    Pages 113-145
  8. Mohamed Mustapha Tahrioui
    Pages 147-164
  9. Mohamed Mustapha Tahrioui
    Pages 165-205
  10. Mohamed Mustapha Tahrioui
    Pages 207-253
  11. Mohamed Mustapha Tahrioui
    Pages 255-291
  12. Back Matter
    Pages 293-315

About this book

Introduction

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 run I/O 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.


Keywords

API aiohttp flask gather concurrency stdlib Python asyncio components threads debugging testing error handling libraries

Authors and affiliations

  • Mohamed Mustapha Tahrioui
    • 1
  1. 1.DarmstadtGermany

Bibliographic information

Industry Sectors
Pharma
Materials & Steel
Automotive
Chemical Manufacturing
Biotechnology
Finance, Business & Banking
Electronics
IT & Software
Telecommunications
Consumer Packaged Goods
Energy, Utilities & Environment
Aerospace
Oil, Gas & Geosciences
Engineering