PHP - Symfony - replace RoadRunner bridge
It seems that the benchmarks for Symfony + RoadRunner use an unpopular bridge, which slows down the interop between RoadRunner and Symfony. I think it would be better to replace it with the more popular baldinof/roadrunner-bundle or another one that does not do unnecessary conversions and reflection calls on each request.
Yes, I see terrible results with RoadRunner. And still only work with PHP 8.3. Please you know it better, try to update it with a PR.
Thank you.
PD: with Laravel is still worst !!
UPDATE: it's failing in the last runs with Symfony and Laravel.
I'll try to use Laravel Octane with RoadRunner, so It'll be always updated.
I updated Symfony RoadRunner to PHP 8.4 and rr 2025.1. The last time was failing. #10037
So later we can test it with another PHP Runtime.
We have ready Laravel Octane with RoadRunner, but first we need to add the server header. #10053
After the changes, still perform poorly:
Try to add a PR, or help me to add any change.
Looks like after 128 concurrent users don't scale more:
We can try adjusting the settings for the number of workers. If the hardware is known, we can set the number of workers to CPUs*2 or configure autoscaling (if it's not prohibited by the rules).
Also with Laravel has a very poor performance:
https://www.techempower.com/benchmarks/#section=test&runid=e8b36ecc-d623-48bb-936d-d043e9db2c13&test=fortune&f=zik0zj-zik0zj-zik0zj-zik0zj-zik0zj-zik0zj-z8kflr-zik0zj-zik0zj-zik0zj-zik0zj-zik0zj-zik0zj-zik0zj-zik0zj-4fti4f
Also with Laravel has a very poor performance:
~~laravel roadrunner package (Spiral\RoadRunnerLaravel) is no longer maintain.~~
https://packagist.org/packages/spiral/roadrunner-laravel
We are not using this package @kitrio. We use the Octane install:
RUN composer require laravel/octane --update-no-dev --no-scripts --quiet
RUN php artisan octane:install --server="roadrunner"
laravel roadrunner package (Spiral\RoadRunnerLaravel) is no longer maintain.
Thank you for letting me know. Fixed.
I sent the bench in X: https://x.com/adaptermanphp/status/1966055619103715680 If we find a better way to improve RoadRunner, I'm open but the rest of users need to know how to make it faster also.