The problem with PHP is that, as far as I know, PHP does not cache anything on the file system by default. PHP has an
opcacheextension that does some form of caching, but I’m not sure how this works entirely, and it is disabled by default. If my understanding is correct, that means for every request, all the scripts and include files are read from disk. Each request requires four files to be parsed (post.php/fetch.php, inc.php, config.php, memcache.php/memcached.php). At 2 req/s, that is 8 files read per second. If you have group shares, or multiple people watching, that I/O load starts increasing pretty quickly. It would be interesting to run some load testing against the PHP backend and monitor IOPS and I/O performance, particularly if Hauk is run from a traditional HDD.
Trebuie sa recunosc faptul ca experienta mea in PHP este suficient de limitata incat sa nu am incredere intr-o simpla cautare pe Google.
Ma puteti ajuta cu opinia voastra in privinta paragrafului de mai sus? Si modul in care opcache sau alte extensii similare ar imbunatati performanta?
Context: chiar daca nu voi folosi Hauk, din cand in cand mai instalez cate o aplicatie bazata pe PHP.