Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zchee/docker-h2o-benchmark
A benchmark toolkit for compare h2o and nginx on docker container
https://github.com/zchee/docker-h2o-benchmark
Last synced: about 1 month ago
JSON representation
A benchmark toolkit for compare h2o and nginx on docker container
- Host: GitHub
- URL: https://github.com/zchee/docker-h2o-benchmark
- Owner: zchee
- Created: 2015-06-28T06:01:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2014-09-24T07:52:10.000Z (about 10 years ago)
- Last Synced: 2024-05-02T03:09:02.741Z (7 months ago)
- Language: Shell
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-h2o-benchmark
====================* A benchmark toolkit for compare h2o and nginx on docker container
Requirments
-----------* Docker host (recommended: boot2docker or CoreOS)
* `make` (requirement on boot2docker)### **Important NOTES**
**This benchmark is running on Docker host only**.
So, this problem has been caused by listening address for h2o and nginx,
And, h2o and nginx are listening on `docker0` gateway IP address.I understand this issue is so complicated,
However, I'm not found more better solution yetRun all phase
-------------On Boot2Docker in OSX:
```
$ git clone git://github.com/nyarla/docker-h2o-benchmark
$ cd docker-h2o-benchmark
$ boot2docker up
$ export DOCKER_HOST=
$ make # that's all ;-)
```On CoreOS:
```
$ ssh core@# these command are execute on CoreOS instance.
$ git clone git://github.com/nyarla/docker-h2o-benchmark
$ cd docker-h2o-benchmark
$ ./build.sh
$ ./listen.sh
$ ./benchmark.sh
$ ./clean.sh
```My Tested Environments
----------------------* Host: Mac mini late 2012 CPU/2.6Ghz, MEM: 16GB 1600MHz DDR3
* OS: OSX Mavericks 10.9.5
* VM: VirtualBox 4.3.16 r95972
* Geust1: CoreOS alpha CPU/v2 core, MEM: 4096MB
* Geust2: boot2docker CPU/v8 core, MEM: 2048MBAuthor
------Naoki OKAMURA (Nyarla)
UNLICENSE
---------* This package is under the Public domain.
NOTE:
* `nginx/nginx.conf` is copied from https://gist.github.com/kazuho/c9c12021567e3ab83809