.

Technology

asyncio

asyncio is Python's built-in standard library for writing concurrent code using the `async`/`await` syntax.

This technology provides the foundation for high-performance, single-threaded concurrency in Python: it is not threading, but cooperative multitasking. The core is the Event Loop, which manages and schedules Coroutines (functions defined with `async def`) and Tasks. When a coroutine hits an I/O-bound operation (like a network request or file read), the `await` keyword yields control back to the Event Loop, allowing other tasks to run immediately instead of waiting. This architecture makes asyncio ideal for applications that handle a massive number of simultaneous, non-blocking connections, such as high-scale web servers or API clients, maximizing efficiency without the overhead of multiple OS threads.

https://docs.python.org/3/library/asyncio.html
15 projects · 15 cities

Related technologies

Recent Talks & Demos

Showing 1-15 of 15

Members-Only

Sign in to see who built these projects