Chris Wellons personal blog

Exactly-Once Initialization in Asynchronous Python

A common situation in asyncio Python programs is asynchronous initialization. Some resource must be initialized exactly once before it can be used, but the initialization itself is asynchronous — such as an asyncpg database. Let’s talk about a couple of solutions.
Points
104
HN comments
58
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2020

On Hacker News

SubmittedTitle on HNPointsComments
Jul 31, 2020Exactly-Once Initialization in Asynchronous Python by ingve10458

More from Chris Wellons

All 74 posts →

Related posts from the same era