19
What async really means for your python web app?
(hackeryarn.com)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
I mean, it's a bit of a weird comparison to begin with. Web servers were always able to parallelize without
async, because they'd just spawn a new thread per request. The real advantage ofasyncis programs where working with threads isn't as trivial...I totally agree with you. This article was really a response to a lot of hype around async web servers in Python.
I kind of knew what to expect, but wanted to throw real numbers against it. I was surprised to see a 10x slowdown with the async switch in Django.