PHP 7.4 has been made generally available in November 2019 and end of February we went live with this upgrade. Together with nice features like strict types, we are expecting a performance boost from the upgrade from the legacy PHP 5.x version that we were running.
The whole set of preparational activities for this move has started six months ago. As we run lot of code, and a lot of it is ran in a distributed, asynchronous way, it took us quite some time to test everything and get fully prepared for the move.
What it has effectively brought us besides promises? Pretty much, actually!
Below you can see the % of CPU load on some of our servers before and after the rollout.
We estimate the overall win to be a 30% to 40% performance boost.
Further, we ran some synthetic tests, and that also brought us some interesting metrics, visible in the graph above. Some performance gains are ranging from 160% to 430% (!), meaning that we can do 1.6x to 4.3 times more tasks in the same computer time.
If you work with PHP, we advice you to make sure to run the latest PHP version as well, to use strict types, and to make sure that you test your applications well before going to production with the new PHP version! 🙂
Read further: In-depth, php 7.4, strict_types, system performance
Director of Technology at Icecat, the company behind the open product catalog with more than 5,832,475 product data-sheets of 24,533 brands. I am an IT entrepreneur with a deep technical background. Founder & CEO at Bintime, an outsourcing company, and Gepard, a product content syndication platform, empowering manufacturers and retailers to deliver the product information consumers demand. https://www.linkedin.com/in/sergeyshvets/
Your email address will not be published. Required fields are marked *