• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 days ago

    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 of async is programs where working with threads isn’t as trivial…

    • hackeryarn@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      11 days ago

      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.