Execute PHP on a TMPFS mout -
i trying make prestashop faster, made benchmark ab:
(virtualbox debian 7.1 + nginx 1.4 + mysql 5.6)
- php 5.4 + apc ==> 3 req/sec
- php 5.5 + zop+ ==> 4,5 req/sec
with code inside tmpfs mount :
- php 5.4 + apc ==> 12 req/sec
- php 5.5 + zop+ ==> 24 req/sec
so gain big ! wondering if thing or not use tmpfs mount execute php?
hard guarantee consistency between restarts. db part can crucial. depends on app/situation.
Comments
Post a Comment