News for hackers. Stuff that matters.
Re:Django 4.0 release candidate 1 released by konschubert on Monday November 22, 2021 @04:59AM (#29304713)
> if your backend throws requests against external (and potentially blocking) services and you have the "audacity" of wanting to keep answering your clients.

If you have enough processes/threads running, the CPU scheduler should take care of that , no?

Re:Django 4.0 release candidate 1 released by fer on Monday November 22, 2021 @05:06AM (#29304768)
Yes, but more processes means more memory footprint, almost 4 times as much in that benchmark, something the author didn't cover. Threading solves that, but it's way more prone to shooting yourself in the foot than async, especially since it's not baked into Django (i.e. you gotta cook your own solutions over callbacks, polling, etc).