3 ms·
Reluctant to use asyncio? How come? I think it's great. Very happy SQLAlchemy has finally added support, I was slowly dropping it in favor of solutions that sup
by fastball 6y ago
Reluctant to use asyncio? How come? I think it's great. Very happy SQLAlchemy has finally added support, I was slowly dropping it in favor of solutions that supported asyncio.
- calpaterson 6y agoI summarised my opinions here: https://calpaterson.com/async-python-is-not-faster.html https://calpaterson.com/async-python-is-not-faster.html TL;DR: It's not faster, prone to bugs if used incorrectly and adds new failure modes. There are some good reasons to use it but they are narrow and I think most real world usage is inappropriate.
- fastball 6y agoThanks for the link! With regard to speed, why do you think the TechEmpower benchmarks[1] (which I think actually do employ a good number of workers for the sync frameworks) have the sync frameworks getting smoked by the asyncio frameworks? [1] https://www.techempower.com/benchmarks/#section=data-r20&hw=ph&test=fortune&l=zijzen-sf https://www.techempower.com/benchmarks/#section=data-r20&hw=...