Apache

MPM

  • MPM starts the server process and maps incoming requests onto an execution primitive
  • MPM model configured at build time with ./configure –-with-mpm
  • Prefork MPM
    • Very robust
    • Least scalable
    • Same as Apache 1 on Unix
    • Good for sites with third-party nontrusted modules
  • worker MPM
    • Multi-threaded multi-process pthread server
    • Initial version of a hybrid model for Unix
    • Preforks a specified nr. of processes. Each of these processes creates a specific nr. of threads to serve the requests
    • Nr. of threads per process is static
  • perchild MPM
    • Creates a specific nr. of processes
    • Each process creates a pool of threads to handle requests
    • The size of the pool grows and shrinks to accommodate the requests
    • The most scalable MPM for Unix
  • mpm_winnt
    • single control process which launches a single child process which in turn creates threads to handle requests
  • mpm_netware
  • mpm_os2
  • mpm_beos
Previous  Next 

A Presentation by Björn Sveinbjörnsson