Select Page

Benchmarking your LAMP server

Benchmarking your LAMP server

Same tests but without mod_security

  • Mod_security is a module for Apache which act like a software firewall
  • Depending on the number of rules, can greatly affect through output speed

time /usr/sbin/ab2 -kc 10 -t 30
This will open 10 connections, using Keep-Alive on them and hammering localhost for 30 seconds

real    0m39.040s
user    0m0.020s
sys     0m0.208s

Nearly one second more with mod_security gotroot rules, worth the added security!

If you want to know more options and how to use apache ab check the apache ab/ab2 man page click here for this man page

How to optimize Apache/Joomla/PHP

I forward You to some of my previous articles:

And more ideas here Secure, Safe, Fast Linux Hosting

About The Author

Cédric Walter

I worked with various Insurances companies across Switzerland on online applications handling billion premium volumes. I love to continuously spark my creativity in many different and challenging open-source projects fueled by my great passion for innovation and blockchain technology.In my technical role as a senior software engineer and Blockchain consultant, I help to define and implement innovative solutions in the scope of both blockchain and traditional products, solutions, and services. I can support the full spectrum of software development activities, starting from analyzing ideas and business cases and up to the production deployment of the solutions.I'm the Founder and CEO of Disruptr GmbH.