News for hackers. Stuff that matters.
Re:Python Asyncio: The Complete Guide by harpiaharpyja on Thursday November 10, 2022 @01:47PM (#33551202)
I've experienced something similar using asyncio as well, but I think you're wrong to blame the inherent complexity of concurrent programming.

I've used curio as an alternative concurrent programming engine for a med-large project (and many small ones). In comparison to asyncio, it's a joy to use.

Re:Python Asyncio: The Complete Guide by kissgyorgy on Thursday November 10, 2022 @02:41PM (#33551970)
What I'm saying if you don't need concurrency, don't trade off simplicity. For REST APIs and websites, probably not needed.
Re:Python Asyncio: The Complete Guide by jerrygenser on Thursday November 10, 2022 @07:37PM (#33555862)
Rest APIs and websites are IO bound. Your python program is there purely coordinating between disk io, database (network) io, calls to other services (io). You can be choreographing thousands of requests concurrently and still barely doing any cpu.

The overhead to do a similar service using threadpools is much higher and the reason asyncio exists.