Links tagged “async”
18 links, newest first.
pythonsheets.com
Cheat sheet on asynchronous Python, tracing the path from callbacks and generators to coroutines and async/await with runnable snippets at each step.
blog.kgriffs.com
Language-agnostic explanation of how asynchronous I/O differs from blocking I/O, built on a fast-food counter analogy, and which workloads actually gain from it.
blog.heroku.com
Walkthrough of building a real-time chat application with Django Channels and WebSockets, then deploying it on Heroku with Redis as the channel layer.
channels.readthedocs.io
Channels documentation for ASGI, the asynchronous successor to WSGI that lets a Python server handle WebSockets and other protocols beyond HTTP.
txpostgres.readthedocs.io
Documentation for txpostgres, an asynchronous PostgreSQL driver for Python built on Twisted.
docs.python.org
Python's reference for concurrent.futures, a high-level interface for running callables asynchronously in thread or process pools.
jakearchibald.com
An explanation of async functions and await, showing how they collapse promise chains into code that reads sequentially.
snarky.ca
A walk through how async/await is built in Python 3.5, from generators and yield from to coroutines, ending with a minimal event loop written from scratch.
jakearchibald.com
Why resolving a promise with another promise defers to that one, so resolve() can still end in a rejection.
ntoll.org
An introduction to asyncio as it landed in Python 3.4 — event loop, coroutines, futures and tasks — with worked non-blocking network examples.
promisesaplus.com
The Promises/A+ specification, an open standard defining interoperable `then` behaviour for JavaScript promise implementations.
pouchdb.com
A tour of the ways JavaScript promises are commonly misused — nested chains, forgotten returns, missing error handlers — and the rules that avoid them.
github.com
Book chapter by A. Jesse Jiryu Davis and Guido van Rossum building a concurrent web crawler three ways — threads, then callbacks, then generator-based coroutines.
emptysqua.re
Resource page for A. Jesse Jiryu Davis's talk on coding a Python 3 async framework from scratch, linking the demo repository and the 500 Lines chapter.
python.org
The PEP that adds native coroutines to Python 3.5 with async def and await, along with async with and async for.
















