Open relesbao opened 7 years ago
I am suspicious that maybe i did something wrong on the nginx configuration because i found some benchmarks related to php7 vs hhvm and they should have similar perfomances.
Maybe ubuntu perform better than alpine for this configuration.
I will keep testing and posting results here.
Found another way to benchmark HTTP requests, worth a try: https://github.com/wg/wrk
After many tests using httperf i got some results with the default configuration:
httperf --server=localhost --uri=/ping --port=8080 --num-conns=2000 --rate=250
If i increase the connection or rate then i start to lose connections.
After some tunning on the nginx i got the following results:
httperf --server=localhost --uri=/ping --port=8080 --num-conns=3000 --rate=300
If you notice, i increased the max connections and rate, but lost some perfomance.
Changing from php7 to hhvm and from alpine to ubuntu16.04 i got the following results:
httperf --server=localhost --uri=/ping --port=8080 --num-conns=8000 --rate=750
HHVM + Nginx + Ubuntu16.04 seem to perform better.