Hacker News new | ask | show | jobs
by zoid_ 1914 days ago
Discovering Laravel a couple of years ago was perhaps one of the most significant things that made PHP interesting again after 20+ years of working with PHP.

It's refreshing (as far as PHP goes) and worth checking out with an open mind. Performance on the other hand, that take a little more work.

1 comments

Performance keeps getting better, particularly with PHP 7 and 8. And just last week, “Laravel Octane” was announced... it lets you serve a Laravel app using Swoole, and early benchmarks on a MacBook Pro suggest 25k+ HTTP requests served per second!
Cool, I'll have to get updated and checkout Laravel Octane soon after clearing a work backlog, did notice Taylor tweet something about it.

I'm guessing your benchmarks are using native php-fpm and not through docker on your MBP?

Laravel Octane is using Swoole which implements a complete webserver, so there won‘t be any php-fpm more. As you would need to restart the server for every code change, there won‘t be a performance difference between docker on mac and non-docker.
I’m not too sure, I was just quoting the figures Taylor gave after his Laracon demo. I think the beta is being released next week.