Python Cheatsheet 01 — asyncio Essentials

Cheatsheet: async/await basics, asyncio.run, gather vs TaskGroup, timeouts, cancellation.

May 17, 2026 · 3 min · 447 words · Manvendra Rajpoot

FastAPI Cheatsheet 06 — Async, Concurrency, and the Threadpool

Cheatsheet: async def vs def, AnyIO/TaskGroup, to_thread, blocking traps, semaphores, timeouts, cancellation.

May 11, 2026 · 3 min · 430 words · Manvendra Rajpoot

SQLAlchemy Cheatsheet 07 — Async Patterns and Streaming

Cheatsheet: AsyncEngine, AsyncSession, lazy loading caveats, streaming results, run_sync escape hatch.

May 12, 2026 · 3 min · 441 words · Manvendra Rajpoot

FastAPI Textbook Ch. 7 — Async, Concurrency, and the Threadpool

Concurrency in FastAPI: async vs sync handlers, the threadpool, AnyIO, blocking traps, structured concurrency, and how to scale.

May 6, 2026 · 5 min · 1033 words · Manvendra Rajpoot

SQLAlchemy 2.0 Textbook Ch. 8 — Async SQLAlchemy in Depth

Async patterns in SQLAlchemy 2.0: AsyncSession, expire_on_commit, async streaming, lazy loading caveats, AsyncSession scopes.

May 7, 2026 · 5 min · 880 words · Manvendra Rajpoot

Django Cheatsheet 10 — Django Async Views

Cheatsheet: async views, sync_to_async, async ORM, middleware async.

May 21, 2026 · 3 min · 607 words · Manvendra Rajpoot

TypeScript Cheatsheet 18 — Async Patterns

Cheatsheet: Promise.all/allSettled, retries, timeouts, AbortController, queues.

May 18, 2026 · 4 min · 704 words · Manvendra Rajpoot

Django ORM Async in 2026 — What Works, What Bites, and the Patterns That Stuck

Practical Django async ORM: aget / acreate / aupdate, transaction.atomic in async, async-safe context, and migration from sync code.

May 4, 2026 · 4 min · 779 words · Manvendra Rajpoot

Rust Async Traits in 2026 — Native AFIT, Send Bounds, and the Patterns That Stuck

Practical Rust async traits: AFIT (async fn in traits), trait_variant for Send bounds, dyn-compatibility, and where async-trait crate still earns its keep.

May 3, 2026 · 4 min · 806 words · Manvendra Rajpoot

Python Async Patterns in 2026 — TaskGroup, asyncio.timeout, and Production Patterns

Practical Python async: TaskGroup for structured concurrency, asyncio.timeout, gather pitfalls, anyio for portability, and how to avoid lost exceptions.

May 2, 2026 · 4 min · 710 words · Manvendra Rajpoot