Hacker News new | ask | show | jobs
by developer2 2453 days ago
Would I be right to assume that your PHP was version 5.x and you didn't do the upgrade to a 7.x release? PHP made enormous leaps and bounds in terms of performance starting with 7.0, and has subsequently been improved in each of 7.1/7.2/7.3. It even has JIT coming in the next version. One fact: PHP 7.0 started to closely match–and in some cases beat–the performance of HHVM (Facebook's PHP replacement); so even Facebook could likely run on the latest PHP rather than their custom solution.

Personally, if I switched away from PHP for web development these days I would do the backend in Go. But thank you for teaching me something new today. SCGI is not a protocol I'd heard of before, what with FastCGI being the (horribly legacy) standard. I have something new to research. :)

1 comments

No, we did the upgrade to php7.0 and then 7.2 when 5.2 lifecycle reach its end. It doesn't take so much work, and we see an improvement as well.

I love scgi because it's clean and easy to implement. And it works fine for our use cases.