#Async
3 posts tagged Async. All posts
asyncio TaskGroup and asyncio.timeout: structured concurrency in PythonReplace asyncio.gather with TaskGroup, handle failures with ExceptionGroup and except*, add deadlines with asyncio.timeout, and cap concurrency.
Tokio channels in Rust: mpsc, oneshot, broadcast and watchWhen to use each Tokio channel: bounded mpsc and backpressure, an actor with oneshot replies, broadcast lag, watch for config, and shutting tasks down cleanly.
Background work in .NET with BackgroundService and PeriodicTimerRun recurring jobs in a .NET host with BackgroundService and PeriodicTimer: scoped services per run, clean shutdown, and what happens when the loop throws.
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)