As our application includes a lot of files, especially from resources/views/ and vendor/ (588 per request), I want to track the amount of I/Os per request. Furthermore we are requesting data from our own API that is currently hosted on the same server. If possible I also want to include I/Os caused by this as well.
We are using the following setup:
- Laravel, Laravel Homestead (Ubuntu), PHP 7.0, Nginx, Redis, MySQL
- Laravel, Debian 7 (DEV/Test), PHP 7.1, Nginx, Redis, MySQL
So my questions:
- is there a way to gather the count of total I/Os per page impression?
- in which way is OPCache able to reduce the number of I/Os, what is optimizable, what is not affected?
Please include the question-number in your comments.
Thank you! Chris