Remix.run Logo
belorn a day ago

asyncio has always looked interesting, but whenever I have run into a problem which could use asyncio I have always gone with multiprocesses instead. I am not sure if async would makes my code easier for others to read and debug, and none of my problems seems to be of the kind where process overhead would make a noticeable difference in performance.

Did you find readability to be improved by going async?

LtWorf 17 hours ago | parent [-]

I mean… if you have unlimited resources and unlimited speed, going multiprocess makes complete sense.

nlitened 14 hours ago | parent [-]

But if you don’t, you don’t use Python anyway

LtWorf 11 hours ago | parent [-]

Maybe you have finite time to do the implementation and your task is IO bound? (which is where using async makes sense, by the way)