PHP 7 deployment at Dailymotion
engineering.dailymotion.com
PHP 7 deployment at Dailymotion
1–10 of 166 posts
Re: PHP 7 deployment at Dailymotion
#2Re: PHP 7 deployment at Dailymotion
#3Before we ever launched with HHVM completely, PHP7 came out. With only a few weeks of work, we managed to make the switch. The gains were identical to what we saw on HHVM, only the experience of working with PHP7 was so much easier for everyone involved.
Having said all this, I think HHVM served a great purpose: It raised the bar and PHP is better because of that. All in all, a great outcome for the people of the Internet.
Re: PHP 7 deployment at Dailymotion
#4> And it took 4 hours to migrate our custom extensions.
That seems like a very small amount of work; I'm impressed at how smooth a transition that must've been.
I'm also quite surprised that
> we can handle twice more traffic with same infrastructure.
Wow, I didn't think that PHP application code would be such a bottleneck. Maybe it's not that, but if the entire codebase is written in PHP, and you replace it all in one shot, you just get such an improvement. But I thought DBs, etc. would play a bigger role.
Re: PHP 7 deployment at Dailymotion
#5Re: PHP 7 deployment at Dailymotion
#6Kind of ironic this wasn't a video post.
Re: PHP 7 deployment at Dailymotion
#7> It took less than a week to migrate our codebase (a 10 years old PHP monolith)... > And it took 4 hours to migrate our custom extensions. That seems like a very small amount of work; I'm impressed at how smooth a transition that must've been. I'm also quite surprised that > we can handle twice more traffic with same infrastructure. Wow, I didn't think that PHP application code would be such a bottleneck. Maybe it's…
Re: PHP 7 deployment at Dailymotion
#8> It took less than a week to migrate our codebase (a 10 years old PHP monolith)... > And it took 4 hours to migrate our custom extensions. That seems like a very small amount of work; I'm impressed at how smooth a transition that must've been. I'm also quite surprised that > we can handle twice more traffic with same infrastructure. Wow, I didn't think that PHP application code would be such a bottleneck. Maybe it's…
There are a lot of PHP apps/CMSes/etc that gained 30-50% speedups due to just that improvement. Other more optimized apps/scripts saw a much more modest gain.
Re: PHP 7 deployment at Dailymotion
#9Wow today is PHP day on HN :)
Re: PHP 7 deployment at Dailymotion
#10Wow today is PHP day on HN :)
At least this one isn't ripping it to shreds (so far). The other discussion...that was rough to read as a PHP dev.
If you think people are making good arguments against PHP, perhaps consider retooling a bit...