3 ms·
It's hard not to love the CPU usage graphs. Same would go for the memory usage graph if it wasn't scary, looks as though the application is using no memory at a
by nerdy 11y ago
It's hard not to love the CPU usage graphs. Same would go for the memory usage graph if it wasn't scary, looks as though the application is using no memory at all.
I've also been looking around for places using PHP7 in production, was glad to hear it went well. While Etsy did it, they have Rasmus. Does anyone else have examples of PHP7 running in production, especially if the development team has written about it?
- Judson 11y agoWe (https://judson.biz https://judson.biz) switched to PHP7 in production last month. I need to review the git commits, but our modern (~2yr old, running PHP 5.6) customer frontend and admin backend were very close to production-ready without any work. Our 10 year old inventory/vendor backend that relied on the (now removed) mysql_* calls needed to be shimmed[0]. Our largest benefit was a significant drop (50%+) in memory usage when allocating lots of objects (which we do when pre-fetching ORM relationships), and a significant reduction (40%, 100-200ms) in render latency when rendering many partial product templates. Edit: One thing that did bite us post-rollout, which didn't show up in development was this php7-fpm bug[1]. [0]: https://github.com/dshafik/php7-mysql-shim https://github.com/dshafik/php7-mysql-shim [1]: https://github.com/php/php-src/pull/1720 https://github.com/php/php-src/pull/1720