{"id":21075272,"url":"https://github.com/maxking/webserving-benchmark","last_synced_at":"2026-04-23T12:32:36.179Z","repository":{"id":141776294,"uuid":"58409250","full_name":"maxking/webserving-benchmark","owner":"maxking","description":"A docker image to run websering benmarks on","archived":false,"fork":false,"pushed_at":"2016-05-28T21:55:19.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T10:40:18.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-09T21:23:43.000Z","updated_at":"2019-01-22T02:05:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"2862649c-4fb4-4342-bfa8-7b34d9a727f1","html_url":"https://github.com/maxking/webserving-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxking/webserving-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fwebserving-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fwebserving-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fwebserving-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fwebserving-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxking","download_url":"https://codeload.github.com/maxking/webserving-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fwebserving-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32181369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T11:42:27.955Z","status":"ssl_error","status_checked_at":"2026-04-23T11:42:18.877Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T19:20:54.512Z","updated_at":"2026-04-23T12:32:36.160Z","avatar_url":"https://github.com/maxking.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Environment variables and defaults\n\n* __HSTS\\_HEADERS\\_ENABLE__\n\n* default: not set - if set to any value the HTTP Strict Transport Security will\n  be activated on SSL Channel\n \n* __HSTS\\_HEADERS\\_ENABLE\\_NO\\_SUBDOMAINS__\n\n* default: not set - if set together with __HSTS\\_HEADERS\\_ENABLE__ and set to\n  any value the HTTP Strict Transport Security will be deactivated on subdomains\n\n\n## Running\n\nThis Dockerfile is not really made for direct usage. It should be used as\nbase-image for your apache2 project. But you can run it anyways.\n\nYou should overwrite the _/etc/apache2/external/_ with a folder, containing your\napache2 __\\*.conf__ files (VirtualHosts etc.), certs and a __dh.pem__.  _If you\nforget the dh.pem file, it will be created at the first start - but this\ncan/will take a long time!_\n\n    docker run -d \\\n    -p 80:80 -p 443:443 \\\n    -v \u003cpath to .\u003e/data/:/etc/apache2/external/ \\\n    -v \u003cpath to .\u003e/data/:/var/www/html \\\n    maxking/webserving-benchmark\n\n\n## Running the client\n\nYou can use any bencharmking client to run tests on this server out of [many\navailable][1], most of which are available for fee. I used [Autobench][2] to run\ngenerate load (i.e. requests to the server) to actually benchmark the\nserver. You can also download and compile the source from [here][3].\n\n\t\t autobench --single_host --host1 localhost --uri1 /index.php --quiet \\\n          --low_rate 20 --high_rate 200 --rate_step 20 --num_call 10 \\\n          --num_conn 5000 --timeout 5 --file results.tsv\n\nThe above command will generate connections starting from 20/sec to 200/sec with\na stop of 20 and send in 10 requests per connections till a total of 5000\nconnections.\n\nIt will spit out a nice tsv (tab seperate values, like csv) that you can import\nto excel or google sheets to plot. Although along with Autobench there is also a\nscript called `bench2graph` that you can use to create plots using gnuplot.\n\n\n## Based on\n\nThis Dockerfile is based on the\n[/_/ubuntu:15.04/](https://registry.hub.docker.com/_/ubuntu/) Official Image.\n\n## Cheat Sheet\n\n### Creating a high secure SSL CSR with openssl\n\nThis cert might be incompatible with Windows 2000, XP and older IE Versions\n\n    openssl req -nodes -new -newkey rsa:4096 -out csr.pem -sha256\n\n### Creating a self-signed ssl cert\n\nPlease note, that the Common Name (CN) is important and should be the FQDN to\nthe secured server:\n\n    openssl req -x509 -newkey rsa:4086 \\\n    -keyout key.pem -out cert.pem \\\n    -days 3650 -nodes -sha256\n\n[1]: https://en.wikipedia.org/wiki/Web_server_benchmarking\n[2]: http://www.xenoclast.org/autobench/man/autobench.html\n[3]: https://github.com/menavaur/Autobench\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxking%2Fwebserving-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxking%2Fwebserving-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxking%2Fwebserving-benchmark/lists"}