Get Free Shipping on orders over $89
Asyncio From Ground Up - Ritesh Modi

Asyncio From Ground Up

By: Ritesh Modi

eBook | 3 May 2026

At a Glance

eBook


$13.99

or 4 interest-free payments of $3.50 with

Instant Digital Delivery to your Kobo Reader App

You have probably tried asyncio once and given up. You may have searched "python asyncio tutorial" and bounced off three of them. You may have copied an async def from somewhere without understanding why. You may have closed a code review the moment await appeared on the screen. None of those experiences is unusual, and none of them is your fault.

The reason most readers find asyncio confusing is that the topic is taught keywords-first. The first page of a typical tutorial introduces async def, the second introduces await, and the reader is expected to imagine the runtime underneath. A keyword without a runtime is a name without a thing. The reader, fairly, gives up. After a few rounds of giving up, async code becomes "the topic I avoid", and the avoidance hardens into a wall.

This book is that wall coming down. Chapter 3 builds a working event loop in thirty lines of plain Python — no asyncio import in sight. Chapters 4 and 5 introduce async, await, and asyncio.run as labels for parts of a runtime you have already watched run. Every chapter after that adds one polished piece of the real asyncio module on top of a model you understand from the inside, because you wrote it.

Across thirteen chapters, a single CLI script evolves from a blocking version that freezes for twelve seconds into a production-shaped program with structured concurrency, timeouts, traceable logs, cancellation, and graceful shutdown. A parallel-running example (tcpcheck.py) demonstrates that the model is portable: the same primitives, the same speedup, on raw TCP instead of HTTP. By the closing chapter, you can read async Python without flinching, write your own with confidence, and recognize when asyncio is the wrong tool and reach for the right one instead.

If you are afraid of async and await, this is the book for you. The technology is small. The barrier is the order in which it has been taught to you. We are about to do it the other way around.

on

More in Artificial Intelligence

AI for Economists - Ashot Davoyan

eBOOK

BEFORE THE WORD - Praveen Maloo

eBOOK

RRP $16.49

$15.99

The Compass - Bob Pearson

eBOOK

RRP $20.89

$19.99

I Think I Am Awake - Olivier Rabenschlag

eBOOK

Coming of Age : Shared Intelligence - Steven Yates

eBOOK

Next Level : Making Games That Make Themselves - Dr Mike Cook

eBOOK