Skip to content

victorandeloci/web-server-performance-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web server performance tests

This repository contains an isolated Docker environment for exploring and testing the performance of HTTP web servers.

By now, it starts up 3 different services:

  • Apache
  • NGINX
  • OpenLiteSpeed

Info

The default test subject page here (html/index.html) is based on: https://github.com/cbracco/html5-test-page

Quickstart

  • Make sure you have Docker installed.
  • Startup the container:
docker compose up -d

The container should start listening in 3 different addresses:

Configuration

All web servers main config files are located in /config directory:

  • /config/apache/httpd.conf for Apache
  • /config/nginx/nginx.conf for NGINX
  • /config/litespeed/.htaccess for OpenLiteSpeed

The Docker containers will mount the config files in their correct locations.

ApacheBench - ab

ApacheBench is a tool designed for benchmarking http servers. You can test the container web servers we just configured with the following commands:

ab -n 1000 -c 100 http://localhost:8081/ #apache
ab -n 1000 -c 100 http://localhost:8082/ #nginx
ab -n 1000 -c 100 http://localhost:8083/ #litespeed
  • -n 1000 specifies 1000 requests
  • -c 100 specifies 100 simultaneos connections

Other benchmarking tools

I'll setup and test other tools soon. You can contribute by sharing your own tests and tools

Benchmarking data

I'll share benchmarking data for these tests in /data. You can contribute by sharing your own data (along with your computer's specs) via a pull request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages