Skip to content

Instantly share code, notes, and snippets.

@appkr
Last active July 24, 2019 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appkr/c519acc7f14c7e6b87886800b3f85825 to your computer and use it in GitHub Desktop.
Save appkr/c519acc7f14c7e6b87886800b3f85825 to your computer and use it in GitHub Desktop.
What is Apache mpm prefork

Terminology

  • MPM: Multi Processing Module
  • Prefork: Forking process in advance (like pool)

Test

test under Apache2.4 on Ubuntu

# on terminal session #1
$ ab -c 5 -n 100 -v 3 -H $AUTH_HEADER http://127.0.0.1/mpos/v1/stores/10
# on the other terminal session
$ top
# pressed "V" for tree view

References

@appkr
Copy link
Author

appkr commented Jul 22, 2019

@appkr
Copy link
Author

appkr commented Jul 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment