Re:How PHP Opcache Works
by slim on Monday October 18, 2021 @12:06PM
(#28907018)
It seems to me that all that "serverless" stuff iscompetition
[ Parent
| on HN ]
Re:How PHP Opcache Works
by withinboredom on Monday October 18, 2021 @12:17PM
(#28907165)
Yeah, I’d love to see some serverless php support since the language is made for that paradigm.
It is... and that's potentially part of the problem. The value proposition at the low-demand end of serverless is less clear for PHP, since it's pretty much had that value (throw files on a cheap host and forget about the vanishingly small cost) for two decades.
Still compelling for people who see spiky to high traffic and are happy to have scale reduced to an accounting/budgeting problem, of course, and I'm pretty sure Laravel has something like this.
Re:How PHP Opcache Works
by tomschlick on Monday October 18, 2021 @12:45PM
(#28907580)
Thats exactly what Laravel Vapor does on top of AWS Lambda: https://vapor.laravel.com/
You should have a look to Bref (https://bref.sh/)
Re:How PHP Opcache Works
by TrispusAttucks on Monday October 18, 2021 @01:07PM
(#28907834)
It is supported on [1] AWS Lambda with a PHP Runtime.
[1] https://aws.amazon.com/blogs/compute/introducing-the-new-ser...
I think AWS lambda supports php
Re:How PHP Opcache Works
by withinboredom on Monday October 18, 2021 @12:36PM
(#28907456)
There’s Bref for the Serverless framework but it only supports AWS and they have no desire to support any other frameworks.