PHP8 comes with some performance improvements in quite a few important areas including:
- APCu
- garbage collection
- JIT compilation (off by default)
Our existing pod sizing and PHP configuration are suitable for PHP 7.4 and expected to be compatible with PHP 8 . In order to ensure our resource optimasation, scalability and stability, we believe that some benchmarking is in order.
Benchmark PHP 8
- Conduct performance benchmarking on PHP 8 to evaluate the current configuration
- The methodology we will use will be similar to the work we did for T280497
- Analyse results to identify performance metrics and potential improvements
Evaluate Findings
Based on the benchmarking results, determine if any adjustments are necessary. Potential improvements may include:
- Resizing pods to optimise resource usage
- Reducing the number of pods if efficiency is improved
- Increasing the number of PHP-FPM workers for better concurrency
- Enabling JIT compilation where appropriate