+ 1

What is asyncio?

This module provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives.
asyncio is a tool in the Microframeworks (Backend) category of a tech stack.

Who uses asyncio?

11 companies reportedly use asyncio in their tech stacks, including Zesty.ai Data and App Stack, Lamoda.ru, and RapidSOS.

43 developers on StackShare have stated that they use asyncio.
Public Decisions about asyncio

Here are some stack decisions, common use cases and reviews by companies and developers who chose asyncio in their tech stack.

I love Python and JavaScript . You can do the same JavaScript async operations in Python by using asyncio. This is particularly useful when you need to do socket programming in Python. With streaming sockets, data can be sent or received at any time. In case your Python program is in the middle of executing some code, other threads can handle the new socket data. Libraries like asyncio implement multiple threads, so your Python program can work in an asynchronous fashion. PubNub makes bi-directional data streaming between devices even easier.

See more
Jelena Dedovic

Investigating Tortoise ORM and GINO ORM...

I need to introduce some async ORM with the current stack: Tornado with asyncio loop, AIOHTTP, with PostgreSQL and MSSQL. This project revolves heavily around realtime and due to the realtime requirements, blocking during database access is not acceptable.

Considering that these ORMs are both young projects, I wondered if anybody had some experience with similar stack and these async ORMs?

See more

Blog Posts

asyncio Alternatives & Comparisons

What are some alternatives to asyncio?
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.
It is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop.
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.
See all alternatives

asyncio's Followers
64 developers follow asyncio to keep up with related blogs and decisions.