12. Virtualiza,on
Mode OS
HTTP
entry
upstream DB
HVM
HVM
Amazon
Linux
Amazon
Linux
NGINX
NGINX
fastcgi
fastcgi php-‐fpm
5.5
HHVM
Percona
Percona
php
run'me
13. AMIMOTO HHVM vs. php-fpm when Nginx reverse proxy cache is disabled
loader.io = load testing tool
Instance Type: c3.large
Duration: 1 minute
Type: during the testing period, the number of clients increase
from 0-300 (Maintain client load)
php-‐fpm
HHVM
vs. loader.io c3.large
1
minute
0-‐300
client
increase
NGINX
Reverse
Proxy Cache
Disabled
The Test
15. Average
Response
,me
Number of
Processed
Requests
Nginx Cache
effec,veness
1566
ms
3108
ms
5387
2637
15 ms
386830
php-‐fpm
HHVM
vs.
Average
Response ,me
Processed
requests
TOP
TOP
16. HHVM
although slower
response, HHVM is
s,ll opera,ng
(,l the end)
150-200 clients:
php-‐fpm
is unmeasured
(,l the end) &
50x errors
were received