News for hackers. Stuff that matters.
Re:Python Asyncio: The Complete Guide by meitham on Thursday November 10, 2022 @12:50PM (#33550343)
I share your sentiment and have been using aiohttp for five years and pretty happy with it. My current project is a web service with blocking SQL server backend, so I tend to do loop.run_in_executor for every DB.execute statement. But now I’m considering just running a set of light aio streams sub processes with a simple bespoke protocol that takes a SQL statement and returns the result json encoded to move away from threads.

There are no comments on this comment yet.