Hacker News new | past | comments | ask | show | jobs | submit login

Since php 7.4 there's been opcache preload to keep a lot of the framework instantiated, in php 8.1 opcache inheritance cache covered some ground with preload.

Some frameworks like symfony considered removing preload support but they were still seeing benchmarks of 10% better performance with it so it was kept.

The biggest pain point with preload IMO is it's global, not per pool, and php-fpm needs to be restarted to update the preload script.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: