-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add apache dockerfile #32
Conversation
default port 8080
it's unnecessary and show errors
for performance reasons
Is it still in progress? |
In my PC the results are very low. |
The Readme say that you use Apache, but not which type of configuration: mod_php, php_fpm, mpm prefork, .... |
The results graph that I sent are with OPCache On, and are similar to your results without OPCache. WRK --timeoutAlso we need to change the WRK config to add Nginx dockerfileWith the nginx dockerfile, the results are an exaggerate difference. (both use OPCache) Apache dockerfile 148.839 reqNginx dockerfile 1.046.629 req |
Every time I run a new benchmark overwrite the old data: local, apache docker, nginx docker, ... |
By default it is prefork for Apache2, all configurations are the default for Apache & PHP |
I think that will be better to add a docker branch, and when it's well tested, we can merge in the main branch. |
Now you can merge it in the docker branch, so all can test it. I'll try with a new dockerfile for apache, using a Ubuntu image and installing all the required components. |
I will check it as soon as possible. For nginx consider #39 and plz make sure to add a more understandable name on |
I don't use apache for a lot of years ago.
And I don't want to install it only for the bench and less in port 80, and perhaps more people have the same situation.
Advantages of use Docker:
First I needed to fix the permissions nightmare, thanks to the docker.
Still I didn't run any benchmark :(, only
check.sh
. Perhaps tonight I will run this benchmark 😄 .PD: it's in dir
.docker
because I have another with nginx.Work in progress!