News for hackers. Stuff that matters.
Re:Programming Culture in the Late Aughts by Tade0 on Thursday June 08, 2023 @04:07AM (#36238697)
Let's also not forget that browsers generally limit the number of requests they send at a time - IIRC the current limit is 6, so a site may be slow just because it sends many requests.

Even (or maybe especially?) popular products like Gmail are guilty of this, sending easily over 200 requests. That's 700ms(!) worth of stalled requests in the best case scenario.

Re:Programming Culture in the Late Aughts by marginalia_nu on Thursday June 08, 2023 @05:34AM (#36239275)
HTTP/2 does mitigate this a bit, I think it's mostly just a limitation in the number of threads. Even with pools or green threads, a CPU can only do so many things in parallel.

Context switching is expensive.