0

I'm trying to fully understand the differences between Apache and Nginx. I've come across the concepts of thread-per-connection and thread-per-request. Then, I've also learned about Apache's MPMs. From my understanding, using mpm_prefork, Apache will work on a process-per-connection mode, and using mpm_worker on a thread-per-connection mode.

But there is no way of having Apache being thread-per-request. Is this correct?

garci560
  • 101
  • 1
  • 3

1 Answers1

0

You want the 'event' MPM: https://httpd.apache.org/docs/2.4/mod/event.html
"A variant of the worker MPM with the goal of consuming threads only for connections with active processing"

Craig Miskell
  • 4,216
  • 1
  • 16
  • 16