[Info-vax] Apache + mod_php performance

Lawrence D'Oliveiro ldo at nz.invalid
Mon Sep 30 22:31:51 EDT 2024


On Mon, 30 Sep 2024 21:49:33 -0400, Arne Vajhøj wrote:

> Practically all GUI's are multi-threaded.

No, they are not. We use event loops nowadays. I know, because I have done 
GUI programming using things like GTK and direct X11 calls.

> Threading is also a very convenient programming model for IO.

Unnecessary. That’s why we have poll/epoll, as already discussed in this, 
um, thread. If the performance bottleneck is in the I/O (or in a GUI, 
waiting for the user’s next action), then threading doesn’t buy you 
anything, and just adds potential for trouble.

> Blocking IO API's has some limits on scalability (like 500 threads per
> CPU core).

Surely only one thread is necessary.


More information about the Info-vax mailing list