Br

Bringing multithreading to Python's async event loop

Hacker News

Bringing multithreading to Python's async event loop

This project explores the integration of multithreading into the asyncio event loop in Python. While this was initially built with enhancing CPU utilization for FastAPI servers in mind, the approach can be used with more general async programs too. If you’re interested in diving deeper into the details, I’ve written a blog post about it here: https://www.neilbotelho.com/blog/multithreaded-async.html

Share card

Actual performance

82points
46comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
58%58% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
45%45% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Missing: mac, agents, macos
40%40% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
33%33% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
22%22% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

An
An Event Loop Allegory61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An Event Loop Allegory

Hacker News3
Py
Python micro event loop library (~250 LOC)58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python micro event loop library (~250 LOC)

Hacker News59
Py
Python UI-ME – Bringing life to Python functions42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python UI-ME – Bringing life to Python functions

Hacker News4
Ma
MacroPy - bringing Macros to Python50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MacroPy - bringing Macros to Python

Hacker News11
Un
Untwisted Supersockets and event-driven with asyncronicity in Python38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Untwisted Supersockets and event-driven with asyncronicity in Python

Hacker News1
(U
(Untwisted) A naive approach to event driven paradigm in Python46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

(Untwisted) A naive approach to event driven paradigm in Python

Hacker News1
Sm
Small event loop lib in C++32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Small event loop lib in C++

Hacker News2
El
Elbi – bringing philanthropy to everyone34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Elbi – bringing philanthropy to everyone

Hacker News3
Br
Bringing Arrowized FRP to C++60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bringing Arrowized FRP to C++

Hacker News1
Dt
Dtop, bringing htop functionality in the webbrowser34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Dtop, bringing htop functionality in the webbrowser

Hacker News5