Async PostgreSQL Queries Execution
Example of how to execute asynchronously queries on PostgreSQL using Python, asyncio and aiopg libraries.
The idea is to get new connection for each query. Creating new session on the same connection will cause:
A recent article by Jason Goldstein expressed the author’s difficulty understanding and using Asyncio, especially in a Flask context. Asyncio in a Flask context is the exact experience I have with Quart, so I hope I can add something to the conversation this author started.