81
114
+ 1
13

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?

Companies
14 companies reportedly use asyncio in their tech stacks, including kraken, Zesty.ai Data and App Stack, and Monite.

Developers
63 developers on StackShare have stated that they use asyncio.
Pros of asyncio
4
Cooperative Multitasking
4
I/O Wait
3
Network Call
2
I/O bound computation
Decisions about asyncio

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

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

+4
7
954

asyncio Alternatives & Comparisons

What are some alternatives to asyncio?
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Celery
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.
gevent
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
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.
Tornado
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
114 developers follow asyncio to keep up with related blogs and decisions.